Interpreting Microprofiler Physics

Hello people of the DevForum,

First of all, accept my apologies if this is the wrong category - there’s no real “physics” support so scriptting is my closest guess.

I’m working on a game that uses physics for some stuff (namely vehicles) and there’s often lag spikes. After reviewing the spikes in the microprofiler, I notice instances of stepContacts repeating itself several times.

Do you have any idea what is this exactly and how do I resolve it? The vehicles are very simple physics-wise so I doubt they would be that FPS intensive.

I’ve tried looking around the DevForum but didn’t really find anything that matches this.

Thanks in advance!
Meaxis

Stepcontacts sounds like collision so its probably collision lag.

You can try checking collision geometry Ive seen that spheres are better for wheels rather than cylinders for this reason for example for a car though that was a collision jitter glitch.