I have a multiplayer setup.
I have the following code:
In tick I call:
FTransform TransformBefore = Cabin->GetComponentTransform();
SimulateMove(Move);
FTransform TransformAfter = Cabin->GetComponentTransform();
and in simulate move I call:
Cabin->AddImpulse(Cabin->GetForwardVector() * Move.CabinPush * Move.DeltaTime, FName(), true);
TransformBefore and TransformAfter are always the same. I guess because it happens in the same tick and the effect of addImpuls happens in the next tick. Right?
If so, how can I “forecast” the effects of AddImpuls (or AddForce) within the same tick?