💬

Community answer

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

vec:cross(up) simplification

💬 GeneralUpdated 2 days ago•0 views
vec:cross(up) simplifies to Vector(vec.y, -vec.x, 0) - cross your vector by up then cross again for the perpendicular; useful for aim/heading math.

How to project a vector onto the horizontal plane

vec:cross(up) simplifies to Vector(vec.y, -vec.x, 0) - cross your vector by up then cross again for the perpendicular; useful for aim/heading math.

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.