Deltas of linear and angular velocities applied to rigid bodies now are kept between simulation steps.
Read-only access functions added to btRigidBody to get these values Several OpenCL functions are implemented for MiniCL
This commit is contained in:
@@ -328,10 +328,10 @@ void btRigidBody::internalWritebackVelocity(btScalar timeStep)
|
||||
setWorldTransform(newTransform);
|
||||
//m_originalBody->setCompanionId(-1);
|
||||
}
|
||||
m_deltaLinearVelocity.setZero();
|
||||
m_deltaAngularVelocity .setZero();
|
||||
m_pushVelocity.setZero();
|
||||
m_turnVelocity.setZero();
|
||||
// m_deltaLinearVelocity.setZero();
|
||||
// m_deltaAngularVelocity .setZero();
|
||||
// m_pushVelocity.setZero();
|
||||
// m_turnVelocity.setZero();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user