ImpulseJointSet::get_mut option to wake up connected bodies (#716)
This commit is contained in:
@@ -428,10 +428,10 @@ impl PhysicsPipeline {
|
||||
self.counters.stages.user_changes.start();
|
||||
for handle in impulse_joints
|
||||
.to_wake_up
|
||||
.drain(..)
|
||||
.chain(multibody_joints.to_wake_up.drain(..))
|
||||
.drain()
|
||||
.chain(multibody_joints.to_wake_up.drain())
|
||||
{
|
||||
islands.wake_up(bodies, handle, true);
|
||||
islands.wake_up(bodies, handle.0, true);
|
||||
}
|
||||
|
||||
// Apply modifications.
|
||||
|
||||
Reference in New Issue
Block a user