Page 1 of 1

g-force of a btRigidBody

Posted: Tue Feb 14, 2012 2:35 pm
by ghiboz
hi all! how can I calculate the longitudinal acceleration and lateral of my btRigidBody?
thanks in advance!

ghiboz :wink:

Re: g-force of a btRigidBody

Posted: Tue Feb 14, 2012 5:14 pm
by kloplop321
Acceleration is a measure of distance per second per second, so you should take 3 sample points and determine the acceleration from that. Look up basic physics videos on how to do that, it's like the inverse of finding the position.