Introducing Step Forward Physics

[Update] September 11, 2024

Hi all, we’re excited to release a new Step Forward Physics button, which enables you to step the simulation while physics is paused! Our hope is that this new functionality will enable more precise debugging workflows, addressing one of the top Creator pain points we’ve heard regarding the usability of our Physics Engine.

This functionality will be added to the existing Simulation Pause Studio Beta (which will now be called Simulation Pause and Step). This means that those who have already opted into this beta will see this feature automatically.

To enable this Studio beta, go to File > Beta Features > and enable Simulation Pause and Step.

Internally, this button calls the new workspace:StepPhysics API, stepping physics with an input timestep value of 1/60th of a second, or the time elapsed per world step. For more details, see our announcement on the StepPhysics API.

This button supports stepping either of the following, just like the new Pause and Resume Physics buttons:

  1. Both the client and server (Step Forward Physics: All), or
  2. Only the currently visible workspace (Step Forward Physics: Current)

See an example here:

As always, we encourage you to try out this new feature, explore its capabilities, and let us know what you think. If you have any questions, concerns, or requests, please let us know!

Best,
M0bsterLobster

275 Likes

This topic was automatically opened after 10 minutes.

This new Step Forward Physics button is definitely helpful for pinpointing issues. Being able to step the simulation incrementally makes it much easier to identify and troubleshoot specific problems in the game. Thanks for this great addition!

41 Likes

Very amazing update, this can help a lot of developers at designing obbies or Parcours.

Additionally I have 1 question, I know it has been asked plenty of times in the previous post already (which was about the physics stepping api), will we be able to have control over this in localscripts as well sometime? This can be a great addition when creating special effects such as slow motion or speeding the simulation up (making it step faster than usual). Great update though!

31 Likes

Oh my God. This function is perfect, helping all developers a lot. Good job.

18 Likes

great, now pls make this feature usable by live games because we want to add time-stopping features to our games

39 Likes

literal. Can you imagine slow motion functions with this? It would be perfect.

27 Likes

Would love this to be introduced in live games. Overall it’s a good feature.

19 Likes

StepPhyiscs, StepForward. What next? StepBackward? (rewind would be much easier, pls pls and make them into live games)

22 Likes

This is one of the most useful features!

15 Likes

wow all of these new additions to the physics are amazing,
will definitely help with my workflow :sunglasses:

13 Likes

This is amazing!! This seems like it could be useful for debugging, and observing physics closely. Thank you Roblox for this new feature!

15 Likes

Usually I don’t comment on updates like this, but I can tell that this is an amazing update. Good job, I can see myself using this in the future.

13 Likes

Can’t see a use case yet, but definetly cool seeing the physics engine being more interactable with. I am really looking forward to more updates and configurability settings in the future.

12 Likes

Thats actually super cool and great for debugging physics issues

12 Likes

Moments before disaster…

Using this right now to debug this dumb bug exploding in the water.

26 Likes

i really thought this was gonna be a new physics update/upgrade :sob::sob::sob::sob::sob::sob::sob:

14 Likes

Is there a way to decrease the step increment?

nvm

image

19 Likes

Is roblox planning to add a function to slow down physics anytime soon? It would be cool if that is possible

20 Likes

This is a pretty cool feature that I may use often for earthquake and tornado damage simulations.
Also that top demo video is really amusing for some reason.

13 Likes