You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a rigid body and set its linear damping value to 0
Inside physics process PhysicsServer.body_get_direct_state(get_rid()).total_linear_damp is now set to 0.1 (this is the default linear damping set inside project settings)
pouleyKetchoupp
changed the title
Bullet physics adds the default damping values instead of setting them
[Bullet] Bullet physics adds the default damping values instead of setting them
Mar 4, 2021
I encounter this today. I'm not sure if it's the bug, but for sure it's inconsistent with what is written in docs
According to it any value different then -1 should override default damp setting, but in reality default damp value is added to local damp value (if local damp is bigger then 0).
The behaviour mentioned in the docs makes more sense
Godot version:
3.2.3.stable
OS/device including version:
N/A
Issue description:
Bullet adds the default linear/angular damping values instead of setting them. This issue doesn't occur when using Godot physics backend.
Bug is probably from here:
godot/modules/bullet/rigid_body_bullet.cpp
Lines 974 to 979 in dd1881a
Steps to reproduce:
PhysicsServer.body_get_direct_state(get_rid()).total_linear_damp
is now set to0.1
(this is the default linear damping set inside project settings)Minimal reproduction project:
bullet-damping-bug.zip
The text was updated successfully, but these errors were encountered: