Hello! I'm creating a ball platformer, but I meet one problem. When a player gets on the platform and the platform starts to move, the ball starts to roll, and it hards to control. I see in unity someone use
transform.parent and set ball child to the platform and ball move with the platform. I try to use the same with Godot, but the game crash when I reparent ball. I use this line of code:
What would you, please, advise to solve this problem?
What I have now: https://imgur.com/a/4jQRDts
What I want to do, but with the ball: https://youtu.be/rO19dA2jksk?t=377