Player Rigidbody

apokalypsadestroyer
Posts: 5
Joined: Thu May 10, 2007 9:06 pm

Player Rigidbody

Post by apokalypsadestroyer »

how can i make controlable rigidbody as character, how can i rotate rigidbody, how can i move rigidbody, applyForce & applyTorque are functionless, setLinearVelocity & setAngularVelocity are same,

anyone know how to basically control rigidbody as basically moving character, pls help me
madMAx4
Posts: 27
Joined: Fri Apr 20, 2007 7:29 pm
Location: Germany

Post by madMAx4 »

applyForce & applyTorque are functionless, setLinearVelocity & setAngularVelocity are same
these should work as long as your rigidbody is not static.
you need a working main loop as well.
and dont't forget to add the rigid body to a world that is set up properly.

without posting code i cannot see your problem.
apokalypsadestroyer
Posts: 5
Joined: Thu May 10, 2007 9:06 pm

Post by apokalypsadestroyer »

if i use applyTorque the and then for example setLinerVelocity, the body move the same way, but it is shit, it didnt works, i use the sphere collision shape and my body do abnormal rotation, is there any example for controlable rigidbody?