This is because the look-at rotation takes an up vector, and the green cone is up. If your could peek at the ‘next’ rotation, and if dot(new, previous) < 0, then use up: Vector3D(y: -1) instead of +1 (or, really, negate it from whatever was used on the last frame. That would ensure that the object doesn’t flip wildly.
Topic:
Graphics & Games
SubTopic:
General
Tags: