Hi,
I'm trying to get my node to look at a certain position with look_at()
, it works fine when the target is under the node and on the left side, but in any area other than that would make it point to the wrong direction.
It's not randomly turning, it turns an extra 90 degrees whenever the target moves beyond that position.
Is it a bug or am I just misusing look_at
? All I'm doing is look_at(target.global_position)
.