Align a negative axis to a Vector?

One of my favorite little toys in the BGE is the alignAxisToVect() function. It solves a lot of otherwise complex problems.

Problem is, it only allows you align a positive axis to a vector.

What if I wanted to align an object’s -Z axis to a vector?


You can just take the negative of the vector (-vect)

Both work. Thanks!