Pause Physics World 1.0

I used to do this?
New way?
Thanks!

stepPhysicsWorld = World.GetOrCreateSystem<StepPhysicsWorld>();



stepPhysicsWorld.Enabled = !paused;

Hi, this works for me as per the upgrade guide

var fixedStepSimulationSystemGroup = World.DefaultGameObjectInjectionWorld.GetOrCreateSystemManaged<FixedStepSimulationSystemGroup>();
fixedStepSimulationSystemGroup.Enabled = setTimestepActive;
1 Like

Can do the same for the SimulationSystemGroup

var simulationSystemGroup = World.DefaultGameObjectInjectionWorld.GetOrCreateSystemManaged<SimulationSystemGroup>();
simulationSystemGroup.Enabled = setTimestepActive;
1 Like