vec:cross(up) simplification
💬 General•Updated 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.