Interactions between resimulation and predictive interpolation

Hi,

I’m trying out the resimulation physics replication mode for a custom vehicle simulation.

It shows promising results for player controlled pawn movements and even interactions between them.

However, when they interact/collide with other physics objects they go out of sync.

From what I understand, replicated physics objects that are to interact with forward predicted ones are to be set on predictive interpolation mode, but upon collision things don’t go so well.

Am I missing something, is the interaction between objects set on the two different replication modes meant to be functional, or is it something in development or planned?

If not, what is the best practice in unreal for interactions between resimulating objects and other physics objects (replicated or not) ?

Thank you,

Cheers,

Nicolas

Hi Nicolas,

Resimulation and forward predicted objects are not currently designed to work together. Anything which is physically simulated would be best using Resimulation. We also have ‘input decay’ which can help when latency is high.

It is also worth calling out that Resimulation is designed to work with Async physics (since the network frames aren’t timestamped - they are calculated implicitly)

Best

Geoff Stacey

Developer Relations