Saturday, June 4, 2022
HomeGame Developmentunity - The place did the Composite Collider go?

unity – The place did the Composite Collider go?


A few of my GameObjects have 2 Sprites nested underneath them, like how Cat and Snake are nested underneath Sprites:

enter image description here

The “Cat + Snake” mum or dad GameObject has a Composite Collider 2D and a RigidBody 2D on it (the one different Element is a State Machine with my graphs in it).

enter image description here

This is the settings for the Cat grandchild (the Snake is similar).

enter image description here

It was once that if I went into Scene view and clicked on the Cat + Snake within the Hierarchy… I’d see the Composite Collider over the Cat and Snake (it appeared like a rectangle). Then I might play with the Offset Distance setting, and the rectangle would grow to be a RoundRect.

However I have to’ve tweaked one thing by some means, and I can not see the Composite Collider! However the colliders to appear to be working, as I will click on on the Cat, the Snake and the Phrases.

I am considering I have to’ve carried out one thing to make the Colliders not seem in Recreation View, or by some means downgraded them in some respect… any thought what it may need been?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments