How to move character on spinning platform?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By icqqq
:warning: Old Version Published before Godot 3 was released.

Dear all,
I am using Godot 2.1.4 and I know how to move character on a moving platform,
but how to move character on a spinning platform in 3D?

For spinning platform I mean a platform that rotates about the up axis, which in Godot is the y-axis.

Therefore, the question may be how can I transfer the angular velocity to the velocity of my character?

PS. both my character and the spinning platform are Kinematic Bodies, and I rotate the spinning platform by a animation player.

Thanks!

:bust_in_silhouette: Reply From: UnsignedFoo

Make it child of the platform when character get over it. But it will easier if you use Rigidbodies.

:bust_in_silhouette: Reply From: Yog_Shoggoth

Try taking a look at the following link Godot 3D Vector Physics Cheatsheet from godotdevelopers.org, it has a section on handling a body on a rotating platform. Which although intended for rigidbodies might give you some hints/ideas as to how to calculate the necessary velocities.