but not completely.
basically i want to let a unit rotate around its y axis untis it faces some given point. in 99% of the cases this goes perfectly well. but when the vector to align to is exaclty the opposite of the current alignment, the entity turns upside down.
should i just write my own alignfunction or is there an easier way to solve my problem?
basically i want to let a unit rotate around its y axis untis it faces some given point. in 99% of the cases this goes perfectly well. but when the vector to align to is exaclty the opposite of the current alignment, the entity turns upside down.
should i just write my own alignfunction or is there an easier way to solve my problem?