Voltea a ver al
cursor y cuando haces clic el personaje lo sigue.
La cámara:
El personaje:
Estúdialo con calma:
Nota:
Si te sale este error:
Node origin and target are in the same position, look_at() failed
Cambia esta línea:
func _ready():
punto = Vector3(0, get_translation().y, 0)
Por esta:
func _ready():
punto = Vector3(1, get_translation().y, 0)
Node origin and target are in the same position, look_at() failed
Cambia esta línea:
func _ready():
punto = Vector3(0, get_translation().y, 0)
Por esta:
func _ready():
punto = Vector3(1, get_translation().y, 0)
Comentarios
Publicar un comentario