Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | theMX89 |
extends Sprite3D
func _process(_delta):
var camera_pos = get_viewport().get_camera().global_transform.origin
camera_pos.y = 0
look_at(camera_pos, Vector3(0,1,0))
this is the script im using. it basically makes the sprite3d look at the players camera.
my problem is that im using an animationplayer to rotate the sprite at the same time.
the animation isnt playing though, and its really confusing.