Change default coefficient of restitution to 0.0
#503
Labels
A-Dynamics
Relates to rigid body dynamics: motion, mass, constraint solving, joints, CCD, and so on
C-Breaking-Change
This change removes or changes behavior or APIs, requiring users to adapt
C-Enhancement
New feature or request
D-Easy
Nice and straightforward! Requires little to no knowledge of physics or the engine's internals
Currently, the coefficient of restitution is
0.3
by default. This is quite arbitrary, and can lead to confusion when specifying a restitution of zero for only one entity, as there will still be some bounciness, because collisions (by default) use the average of the coefficients of the colliding entities.The default should be changed to
0.0
. This is consistent with all other game engines and physics engines I've checked, such as Godot, Unity, Box2D, and Rapier.Note that it might make sense to change the default friction coefficient as well. Currently, it is
0.3
, but most engines use either0.6
or1.0
. This may be worth its own issue though.The text was updated successfully, but these errors were encountered: