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

[Bullet] KinematicBody3D with move_and_slide() can stop moving completely even when the given velocity is not equal to zero #45058

Open
Tracked by #45022
archerallstars opened this issue Jan 9, 2021 · 2 comments

Comments

@archerallstars
Copy link

Godot version:

  • Godot 3.2.4 beta 5

OS/device including version:

  • Windows 10 Home 64-bit, Version 20H2, OS build 19042.685
  • Intel® UHD Graphics 620, Version 27.20.100.9126

Issue description:

I move a KinematicBody3D with velocity input to the move_and_slide() using the Bullet/default physics engine. But after a while, the KinematicBody3D stop moving completely even though the given velocity is not equal to zero, as shown in my screen recording below:

2021-01-09.18-27-21.mp4

And when I checked the is_on_floor() output, it did not always return true even though the KinematicBody3D was always on the floor with the gravity applied to it on every physics frame, as shown in my screen recording below:

2021-01-09.18-28-59.mp4

I am not sure whether this issue is related to #33833 in some way.

Steps to reproduce:

  1. Open the reproduction project.
  2. Choose the appropriate Vector 3 Print in the Player's script available at the inspector tab.
  3. Run the project, the Player will stop moving entirely.

Minimal reproduction project:

test.zip

@nonunknown
Copy link
Contributor

duplicate of #45060

@archerallstars
Copy link
Author

duplicate of #45060

I don't think it's a duplication since the issue relates to a completely different physics engine (Bullet vs GodotPhysics).

Moreover, the behaviors related to the issue are completely different as one completely freezes and unable to detect the floor while the other has none of these behaviors.

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

No branches or pull requests

4 participants