src/systems/DynamicsSystem.cpp
void DynamicsSystem::resetSplitVelocities() {

    const uint32 nbRigidBodyComponents = mRigidBodyComponents.getNbEnabledComponents();
    for(uint32 i=0; i < nbRigidBodyComponents; i++) {
        mRigidBodyComponents.mSplitLinearVelocities[i].setToZero();
        mRigidBodyComponents.mSplitAngularVelocities[i].setToZero();
    }
}
// Reset the split velocities of the bodies
Reset the split velocities of the bodies
Reset the split velocities of the bodies
void DynamicsSystem::resetSplitVelocities() {
    const uint32 nbRigidBodyComponents = mRigidBodyComponents.getNbEnabledComponents();
    for(uint32 i=0; i < nbRigidBodyComponents; i++) {
        mRigidBodyComponents.mSplitLinearVelocities[i].setToZero();
        mRigidBodyComponents.mSplitAngularVelocities[i].setToZero();
    }
}
void DynamicsSystem :: resetSplitVelocities ( ) { const uint32 nbRigidBodyComponents = mRigidBodyComponents . getNbEnabledComponents ( ) ; for ( uint32 i = 0 ; i < nbRigidBodyComponents ; i ++ ) { mRigidBodyComponents . mSplitLinearVelocities [ i ] . setToZero ( ) ; mRigidBodyComponents . mSplitAngularVelocities [ i ] . setToZero ( ) ; } }
Reset the split velocities of the bodies
Reset the split velocities of the bodies