Godot: Regression: 3D RigidBody have no visible gravity after returning from kinematic physic mode

Created on 21 Nov 2017  路  4Comments  路  Source: godotengine/godot

Operating system or device, Godot version, GPU Model and driver (if graphics related):
1c2782a7c7456b4a473e519ebb40968c521911e7

Issue description:
After putting a body in a kinematic mode, and returning to rigid mode, it seems like gravity force is not working anymore on that body.
return_kinematoc_grav

Steps to reproduce:

  1. Check sample project

or alternatively:

  1. Put a body in kinematic mode
  2. Wait 0.1s
  3. Change mode of body to back to rigid

Link to minimal example project:
Kinematic2RigidModeGravityIssue.zip

bug physics

Most helpful comment

Cutest bug demo ever :)

All 4 comments

cc @AndreaCatania

Cutest bug demo ever :)

I fixed it. Anyway the kinematic body is like a static body and can't wakeup a rigidbody, the result is an overlapping between kinematic and sleeper rigid body.

I'll add a code to the function Move that add a force in case of kin touches the rigidbody so you will be able to push rigidbody even if they are sleeping.

If you create an issue with this feature request is better, so I can't forgot it.

@AndreaCatania I will, but you need to know it was putted inside reproduction project by total accident... Wanted to record nice gif with zerro-g floating bodies that were pushed by kinematic one :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EdwardAngeles picture EdwardAngeles  路  3Comments

bojidar-bg picture bojidar-bg  路  3Comments

mefihl picture mefihl  路  3Comments

ndee85 picture ndee85  路  3Comments

RebelliousX picture RebelliousX  路  3Comments