- Home /
Question by
komodor · Jun 11, 2014 at 02:54 PM ·
layermaskcollider 2dpolygon collider 2d
gameObject with 2 colliders with different layerMasks ?
is is possible to have one gameObject with two different colliders (in my case PolygonCollider2D) which have different layerMasks ? or is there any other approach to achieve something similar?
Comment
Best Answer
Answer by Landern · Jun 11, 2014 at 03:00 PM
I don't think on one game object, but you can make two empty gameobjects as children and attach the colliders that way.
for now i solved it by second gameobject connected to this
thx for help Landern
Your answer
Follow this Question
Related Questions
Unity 4.3, generate 2d mesh 2 Answers
Cycle through each vertex of a Polygon Collider 2D? 1 Answer
Trouble with composite and polygon collider in player 0 Answers
OnTriggerEnter2D Doesn't fire after switching to IsTrigger on 2 Answers
How to get the closest vertex of the Polygon Collider 2D in code? 1 Answer