Line Trace cost?

As the title says, how mutch is a “Multi sphere trace for object” every tick gonna effect performance?

One trace per Tick? Unmeasurable / negligible territory.

Its a multi sphere trace every tick not a single trace/Line trace
But is that Unmeasurable as well? :smiley:

If you hit 1 million objects every frame, you may feel it. But that would be due to how slow loop iteration is in BPs. The editor would start complaining about infinite loop anyway.


Why not put 100 ticking actors in the level and multisphere trace? I can’t see the ms go up when I perform 1000 multisphere traces every frame. I’d consider it meh, at best. Not advocating for wasting cycles or bad scripting but it’s the other things that will eat into the performance. This is not something I’d concern myself with.


Anyhow, develop now, optimise later. Otherwise nothing gets done. I say pick your battles and trace away.

1 Like