Godot Version
v4.5.1.stable.steam [f62fdbde1]
Question
So I have this small game and I want to have 2D image rotate with the camera so that they always look at you. I made a small script so that it follows the player’s movement but that looks a bit janky and doesn’t quite feel the same. Here’s the code I’ve been using, I’ve been coding only for one day so I don’t know much GDscript.
extends Node3D
@onready var player = $"../Player/Head"
func _process(_delta: float) -> void:
look_at(player.global_position, Vector3.UP, true)
I tried with global_rotation but that doesn’t work.
PS: it extends Node3D because I have used it on static images and animated sprites. it works on both but its still not what im looking for