This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hello, I have noticed that there are two ways to achieve a kinematic body. One is to directly use the KinematicBody and the other is to use the RigidBody with "Kinematic" turned on. I would like to ask if there is a difference (besides inheritance), and which one should I use for my projects.

in Engine by (12 points)

1 Answer

0 votes

KinematicBody have the move api which suits well for character controllers, using a RigidBody in kinematic mode, if you want overlap checks+separation you will have to do it by hand (access. the space state, do motion queries, etc.).

The mode change of rigid bodies is useful only if you want to let a rigid body "rest" for awhile, otherwise are flexible as a rigid body in rigid/character mode (minus the access to the custom integrator and all the signals).

by (7,954 points)

Does the Kinematic Mode interact with other Rigidbody objects? When I stand on my Player that is only in KinematicBody the Rigid object would just thrown away in circles. I want my player to stand on a cube with a rigidbody attached.

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.