me again...

now i want to add a random force or torque to the entity and was using this:


NewtonBodyAddForce(body, vectorf(random(100)-50,random(100)-50,random(100)-50));

or

NewtonBodyAddTorque(body, vectorf(random(100)-50,random(100)-50,random(100)-50));

but nothing changes. also i dont get the idea about how to have the entity with a certain start rotation

ok, now i used NewtonBodySetOmega and that works. Guess i'll search for a general newton manual now

Last edited by ello; 01/31/08 20:49.