how to make a node follow another node

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

how to make a node follow another node keeping the position?
if I do this it changes the position to the node and I want to keep it

global_transform = node.global_transform

Not entirely sure what you mean but I think you’re either looking for look_at or basis.

Magso | 2021-03-01 20:58

:bust_in_silhouette: Reply From: WrstlDev

https://kidscancode.org/godot_recipes/ai/chase/