How do i make a player go on a boat and be moved by it?

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

I am really new to making games and I am pretty new to programming
I am trying to make something so if the player goes on a certain moving object
It moves with it
I will really appreciate it if someone helps me

:bust_in_silhouette: Reply From: rakkarage

make player parent boat

One of the most important things to know about transforms is how you can use several of them together. A parent node’s transform affects all of its children. Let’s dissect an example.

:bust_in_silhouette: Reply From: aipie

You might want to check this
http://kidscancode.org/godot_recipes/2d/moving_platforms/