Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KinematicBody movement does not wake RigidBody #19640

Closed
rodolforg opened this issue Jun 19, 2018 · 2 comments
Closed

KinematicBody movement does not wake RigidBody #19640

rodolforg opened this issue Jun 19, 2018 · 2 comments
Labels

Comments

@rodolforg
Copy link
Contributor

rodolforg commented Jun 19, 2018

Godot version:
3.0.3

OS/device including version:
Linux (Debian testing)

Issue description:
If a RigidBody sleeps, it is not awaken by a collision with a KinematicBody.

Steps to reproduce:
Just open test project and exec the single scene.
The RigidBody prints out when it sleeps and when it awakes.
It falls and after a short time it sleeps.
A kinematic body is moving to left in a collision route. It slides through it but does not make him awake.
I've also tried with cube mesh for the rigid body.

The doc describing RigidBody::can_sleep member says that it should awake on collision. Or KinematicBody does not apply forces?

Minimal reproduction project:

physics-test.zip

@eon-s
Copy link
Contributor

eon-s commented Jun 19, 2018

Looks like a duplicate of #13148 which was fixed by #16757 for 3.1.

This may be a won't fix for 3.0, a workaround can be to register the collision with the body and wake it up/push manually.

@rodolforg
Copy link
Contributor Author

Indeed. I tested and it is solved in master branch.

Sorry I couldn't find this issue and the pull request before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants