0 votes

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!

in Engine by (250 points)

2 Answers

+1 vote
Best answer

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.

by (50 points)
selected by
+1 vote

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

by (26 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.