2 simultaneous and seperate physics simulations?

Godot Version

4.4

Question

This is a big ask for a small problem (:

I’m making a golf game with some complex forces being applied to the ball from multiple sources. This is making it difficult to create a simulation of the balls trajectory for aiming. Before I go crazy trying to impliment this feature, I thought I should ask if there is any way to run multiple physics simulations at the same time?

In theory, what I would like to do is have a second copy of the ball running a simulation at a higher time step, and record it’s path for the aiming mechanic. I figure this simulation would be pretty light because it would only contain the ball, so I could run it repeatedly in short amount of time to make the trajectory line nice and smooth.

Another solution would involve changing the time-step per object, or having some kind of time-step multiplier, but this isn’t possible as far as I can tell.

Any ideas?

Another question: If I wanted to simulate what happens when I apply_force in physics_process using the state in integrate_forces, how could I go about doing that?

Is there a way I can take the forces beings appliedc and predict what the change will be to the velocity? Then I could just call move_and_collide or manually update the velocity in a for loop?