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

RigidBody apply_impulse not working with linear damping = 1 with Bullet physics #14650

Closed
karroffel opened this issue Dec 14, 2017 · 5 comments
Closed

Comments

@karroffel
Copy link
Contributor

karroffel commented Dec 14, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Arch Linux (also observed on Windows 10), Godot 3.0 beta-1

Issue description:

When using a RigidBody in character mode with linear damping = 1 then apply_impulse does not move the body at all.

When switching the physics server back to GodotPhysics then it works.

When using Bullet as a physics engine the result should be the same as with the old physics engine.

Steps to reproduce:

  • Create a RigidBody, set it to character mode. Make sure it doesn't fall down into the void of meaninglessness where you can't observe the bug.

  • Set linear damping to 1.

  • in _physics_process use apply_impulse.

  • see that it's not moving the RigidBody

  • switch to GodotPhysics

  • observe that it does move the RigidBody

Link to minimal example project:

ApplyForceWithDampingBullet.zip

@karroffel karroffel added this to the 3.0 milestone Dec 14, 2017
@AndreaCatania
Copy link
Contributor

I'll check it soon

@AndreaCatania
Copy link
Contributor

I've tested it and it seems fine. The damping in bullet works differently from Godot physics so this statment is not always true:

When using Bullet as a physics engine the result should be the same as with the old physics engine.

In this case the parameters should be changed according physics engines

@akien-mga
Copy link
Member

So it's not a bug I guess? If so the documentation should be updated to mention this difference between both engines.

@akien-mga akien-mga modified the milestones: 3.0, 3.1 Jan 5, 2018
@AndreaCatania
Copy link
Contributor

@akien-mga yes i think so

@akien-mga
Copy link
Member

Superseded by godotengine/godot-docs#2161.

@akien-mga akien-mga modified the milestones: 3.2, 3.1 Jan 26, 2019
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

3 participants