How to apply initial speed and get velocity

Please don't post Bullet support questions here, use the above forums instead.
qingteng
Posts: 14
Joined: Tue Jul 06, 2010 5:20 pm

How to apply initial speed and get velocity

Post by qingteng »

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.
qingteng
Posts: 14
Joined: Tue Jul 06, 2010 5:20 pm

Re: How to apply initial speed and get velocity

Post by qingteng »

qingteng 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]->getLinearVelocity
fallRigidBody[Ip]->getAngularVelocity
fallRigidBody[Ip]->setAngularVelocity
fallRigidBody[Ip]->setLinearVelocity