- Home /
How to check rigid body vector movement?
I'm working on making a flight controller in Boo, and adding relative torque causes the aircraft to spin until you manually balance it out. This isn't as big of a problem when banking (using the mouse allows precise control over how much torque is applied), but it is troublesome in the yaw (A and D keys).
I'm wondering how you could run a check to see how much force has been applied one direction, so you can cancel it out after the key is released, causing the craft to stabilize instead of continuing to spin. What I'd really need is the vector of motion, as that would also help in redirecting forward momentum when the craft pitches up or down, instead of continuing in the same direction.
If there's another, easier way to do this, that would be appreciated too. I'm just starting out, so I'm willing to change my strategy for a better method.