We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fbd057 commit b8b38b1Copy full SHA for b8b38b1
src/pipeline/physics_pipeline.rs
@@ -426,13 +426,23 @@ impl PhysicsPipeline {
426
427
// Apply some of delayed wake-ups.
428
self.counters.stages.user_changes.start();
429
+
430
+ #[cfg(not(feature = "enhanced-determinism"))]
431
for handle in impulse_joints
432
.to_wake_up
433
.drain()
434
.chain(multibody_joints.to_wake_up.drain())
435
{
436
islands.wake_up(bodies, handle.0, true);
437
}
438
+ #[cfg(feature = "enhanced-determinism")]
439
+ for handle in impulse_joints
440
+ .to_wake_up
441
+ .drain(..)
442
+ .chain(multibody_joints.to_wake_up.drain(..))
443
+ {
444
+ islands.wake_up(bodies, handle.0, true);
445
+ }
446
447
// Apply modifications.
448
let mut modified_colliders = colliders.take_modified();
0 commit comments