How to implement physics sub-stepping?

As @mc3334 said altering Roblox’s timestep is not possible with the tools we are given.

Physics engine can actually change between 60hz 120 hz and 240 hz with the new adaptive timestepping, default is 240 hz.

However physics sub stepping is still possible but painful as you basically have to do it manually similar to the video below by predicting the value of forces half the time step and averaging the force. I’ve done it for my character controller similar to suspension which somewhat works.

It also gets more complicated to predict and calculate these forces if there are other factors such as roblox rotational dampening (this primarily stumpted me from applying it to a raycast 4 wheel suspension vehicle)

1 Like