Create a .force_physics_step(steps: int, delta: float)
method to the PhysicsServer2D and PhysicsServer3D
#7998
Labels
.force_physics_step(steps: int, delta: float)
method to the PhysicsServer2D and PhysicsServer3D
#7998
Describe the project you are working on
Roblox emulator, whole roblox runtime inside godot 4.2+
Describe the problem or limitation you are having in your project
Having to adhere to a whole task scheduler system that godot is quite different from
(All of the issues here could be solved by waiting for them or triggering them manually)
Describe the feature / enhancement and how it helps to overcome the problem or limitation
This feature would allow programmers to trigger physics steps arbitrarily for example while
set_active
is false.Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
If this enhancement will not be used often, can it be worked around with a few lines of script?
No.
Is there a reason why this should be core and not an add-on in the asset library?
There may be more use cases, for example moving the order of when to do physics step, maybe forcing it before rendering, or forcing physics to be synchronous to the step currently done.
The text was updated successfully, but these errors were encountered: