Properly pass safe margin on initialization.
Fixes jitter.
(cherry picked from commit 13e0385702)
This commit is contained in:
committed by
Rémi Verschelde
parent
67313c681d
commit
ceeb690476
@ -773,7 +773,7 @@ BodySW::BodySW() :
|
||||
active = true;
|
||||
|
||||
mass = 1;
|
||||
kinematic_safe_margin = 0.01;
|
||||
kinematic_safe_margin = 0.001;
|
||||
//_inv_inertia=Transform();
|
||||
_inv_mass = 1;
|
||||
bounce = 0;
|
||||
|
||||
Reference in New Issue
Block a user