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.
RigidBody movement
-
- Posts: 32
- Joined: Sun Sep 12, 2010 10:25 am
Re: RigidBody movement
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.