💬

Community answer

Collected from the ACE community Discord archive around 2017-05-22. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Torque math: worldToLocalAngles and inertia

🌙 LuaUpdated 2 days ago•0 views
Use v:worldToLocalAngles(desiredAng)*speed - v:angVelocity()*damping, scaled by the physics object's inertia angles - convert desired world torque into local sp…

Correct formula for applyAngForce with inertia

Use v:worldToLocalAngles(desiredAng)*speed - v:angVelocity()*damping, scaled by the physics object's inertia angles - convert desired world torque into local space first.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.