Hi, I am a I'm newbie to physical simulation and bullet. I have two questions:
(1) How to apply initial speed to a rigid body, btCompoundShape.
(2) How to get the velocity of a rigid body.
Many thanks.
How to apply initial speed and get velocity
-
- Posts: 14
- Joined: Tue Jul 06, 2010 5:20 pm
Re: How to apply initial speed and get velocity
fallRigidBody[Ip]->getLinearVelocityqingteng wrote:Hi, I am a I'm newbie to physical simulation and bullet. I have two questions:
(1) How to apply initial speed to a rigid body, btCompoundShape.
(2) How to get the velocity of a rigid body.
Many thanks.
fallRigidBody[Ip]->getAngularVelocity
fallRigidBody[Ip]->setAngularVelocity
fallRigidBody[Ip]->setLinearVelocity