Imagine a RB was rotating and moving, how can I reset it so that its still and not turning?
Tokamak / EaskTok - how to reset a RB motion?
Blitz3D Forums/Blitz3D Userlibs/Tokamak / EaskTok - how to reset a RB motion? EASY!
Just set the torque, velocity and angular momentum to 0.
Just set the torque, velocity and angular momentum to 0.
Many thanks for this stuff :)
Let me elaborate...
Hey Filax,
perhaps you could extend/include these in your AWESOME EasyTok libarary for easy use :-)
TOKRB_SetVelocity(body,0,0,0) TOKRB_SetForce (body,0,0,0) TOKRB_SetTorque(body,0,0,0) TOKRB_SetAngularMomentum(body,0,0,0)
Hey Filax,
perhaps you could extend/include these in your AWESOME EasyTok libarary for easy use :-)