Is there a way to switch between different colliders?

I have an object that changes shape. I want to have all the different shaped colliders already attached as components to the object with only one active at one time, then enable or disable them depending on the sprite.

As far as I can tell there isn’t a way to do this? What would be a good workaround?

Attach the colliders to child objects and activate/deactivate the children as needed.

2 Likes