how to interpolate look at () method?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lalel345

I can’t interpolate look_at () method

onready var sprite = get_node("Sprite")
onready var sprite2 = get_node("Sprite2")
onready var look = sprite.look_at(sprite2.global_position) 

  func _ready():
:bust_in_silhouette: Reply From: bellpepper

I recommend using lerp_angle() instead. Here’s a video that demonstrates it well: