Obi Official Forum

Full Version: optimizing moving colliders
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have a rope that interacts with a lot of moving obi colliders that make up a human. 
The profilers seems to show quite a high cost to moving all the colliders as needed.
Any tips for increasing performance on moving colliders?

Cheers
(01-12-2021, 02:52 AM)burspa Wrote: [ -> ]Hi,

I have a rope that interacts with a lot of moving obi colliders that make up a human. 
The profilers seems to show quite a high cost to moving all the colliders as needed.
Any tips for increasing performance on moving colliders?

Cheers

Hi there,

All that's done for colliders is copy their transform data. For primitive colliders shape data (box size, for instance) is also copied, for more complex colliders like meshes or terrains their shape data is only copied once.

So in case you're using primitive colliders, this should be quite fast unless you're using thousands of them. How many colliders do you have, and what type of colliders?