Manually execute physics tick

Is it possible to execute the physics calculation for one actor, multiple times inside a tick?

I’m trying to replicate the movement of a physical object; When an adjustment comes from the server to client I need reproduce back all moves not yet acknowledged by server.

The only thing i’m missing is how (if is possible) execute manually physics tick function for an actor.

Please help me to understand what can I do, because I’ve not found nothing on the internet.

Thanks in advance.

1 Like

Hey,

Did you find any answer on this? I’m currently trying to do the same stuff for vehicles but haven’f found any clues on how to do that

1 Like

PhysX doesn’t allow per object physics ticking iirc. You can only tick the entire simulation.You’d need to do what the Character Movement Component does where you warp your object back to the correction and then do incremental small movements via sweeps and adjust manually.

Hi thanks for the fast answer!

Yeah. Its okay as they do for CharacterMovementComponent 'cause it is a simple capsule and physics are relatively easy to do by hand. But if you want to replay the moves for a vehicle it is not that easy. I wonder if is there any way to overcome this problem in Unreal.