Fix some solver issues
- Fix the wrong codepath taken by the solver for contacts involving a collider without parent. - Properly adress the non-linear treatment of the friction direction - Simplify the sleeping strategy - Add an impulse resolution multiplier
This commit is contained in:
@@ -1089,7 +1089,8 @@ impl RigidBodyBuilder {
|
||||
}
|
||||
|
||||
if !self.can_sleep {
|
||||
rb.rb_activation.threshold = -1.0;
|
||||
rb.rb_activation.linear_threshold = -1.0;
|
||||
rb.rb_activation.angular_threshold = -1.0;
|
||||
}
|
||||
|
||||
rb
|
||||
|
||||
Reference in New Issue
Block a user