¿How do i make a kinematic body move to another Kinematic body?

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

Hello, im making a little 3d game to learn and im trying to make a kinematic body (that has a 3d sprite and 2 collision shapes) and i want to make that kinematic body follow another kinematic body called player, thanks.

:bust_in_silhouette: Reply From: OiKeTTLe

Assuming you have a var that determines velocity (Vector3), try using velocity = position.direction_to(player.position) * run_speed. Should work, not too sure though.