Running Code Before Server Physics

I have a server script that adjusts a rope constraint length that is connected to a player.
This length can adjust as the player moves.
However, sometimes the player moves farther than the length, before I can make the adjustment.

I need a way to run my distance caluclations, based on character location, and apply this distance to the rope BEFORE any physics are applied that will make the rope constraint stop my movement.

Is there a way to do this?
Thanks.

RunService.PreSimulation is what ur looking for - an event that fires every frame before the physics are calculated.

(it used to be called Stepped before)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.