4.3
node.look_at($enemy_pos.global_position)
“node” is moveable and should look at “enemy_pos” by rotating around its own axis. It rotates to “enemy_pos” but not around its own axis, look_at() creates weird offsets. Any ideas?
Found the issue, i had to recalculate the center of my texture, this conflicted with look_at() calculations.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.