- Home /
Question by
TheValar · Nov 08, 2013 at 12:47 PM ·
physicscollideroptimizationstatic
Static collider as a child of a rigidbody
I know it is bad for performance to have a static collider (one with no rigidbody) that moves around and you are instead supposed to use a kinematic rigidbody.
Is it however, just as ok to have a kinematic rigidbody parent with static collider children? Will the engine just treat it as one large kinematic rigidbody or are the children processed as individual static colliders?
Comment
Best Answer
Answer by Owen-Reynolds · Nov 08, 2013 at 03:48 PM
See compound colliders in the docs. The short answer is yes, "treat static kids and parent as one big collider" is how the system works.
Your answer
![](https://koobas.hobune.stream/wayback/20220613121444im_/https://answers.unity.com/themes/thub/images/avi.jpg)