RigidBody movement

Please don't post Bullet support questions here, use the above forums instead.
xhermit
Posts: 1
Joined: Tue Sep 21, 2010 1:25 am

RigidBody movement

Post by xhermit »

I'm simply trying to move my Rigid body to a location in vector space, no real physics need to be applied... what function can go about this? After that, I apply setAngularVelocity to perform my physics.

Basically I want my object in the "middle" of the screen.. or at whatever location I specify. A bit of a noob question, but I haven't been too heavily involve with bullet.
SteveSegreto
Posts: 32
Joined: Sun Sep 12, 2010 10:25 am

Re: RigidBody movement

Post by SteveSegreto »

Look at the function LocalCreateRigidBody in the demo framework of any demo, it shows how to use either motion states or just set a world transform to your rigid body. Also check out the bullet wiki regarding motion states.