-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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] Gravity is applied to RigidBody even with custom_integrator turned on #40508
Closed
Tracked by
#45022
Comments
cc @madmiraal |
I'm working on a fix for this. |
Fixed with: #40252 |
I just tried your changes on master, and it works properly again. Thanks! Now I'll just have to wait for the 3.2 version of it. |
akien-mga
added a commit
to akien-mga/godot
that referenced
this issue
Jul 28, 2020
…llback to" This reverts commit e7d8464. Fixes godotengine#40508 regression. This will be re-applied and the regression fixed for a future 3.2.x release.
3 tasks
huhund
pushed a commit
to huhund/godot
that referenced
this issue
Nov 10, 2020
…llback to" This reverts commit e7d8464. Fixes godotengine#40508 regression. This will be re-applied and the regression fixed for a future 3.2.x release.
pouleyKetchoupp
changed the title
Gravity is applied to RigidBody even with custom_integrator turned on
[Bullet] Gravity is applied to RigidBody even with custom_integrator turned on
Jan 15, 2021
Fixed by #62708. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version:
3.2 custom build, issue bisected to commit e7d8464
OS/device including version:
Linux Mint 20
Issue description:
The custom_integrator property of rigid bodies is ignored, which causes gravity to be applied when it should not.
Steps to reproduce:
Add a RigidBody to a scene, turn custom_integrator on/off, the RigidBody will fall regardless.
Building Godot from a commit prior to e7d8464 (or the latest stable 3.2 release) does not cause this issue.
Minimal reproduction project:
CustomIntegrator.zip
The custom_integrator property is turned on in this project, yet the box still falls due to gravity. I have to actively subtract gravity in
_integrate_forces()
to prevent the box from falling, but even then it will move downward slowly. In previous versions, the box stays perfectly still, or falls upward if I subtract gravity, as is expected.The text was updated successfully, but these errors were encountered: