- Home /
Question by
prafull2001 · Feb 27, 2018 at 03:25 AM ·
triggerrigidbody2dcollider2deventsystem
Apply Rigidbody/Colliders on EventSystem or Prefab Itself?
I'm trying to add a Rigidbody2D and BoxCollider2D on a particular prefab that I have. This is so the prefab, the player object, can detect collisions with other Obstacle prefabs. My player prefab is connected to an EvenSystem object because I have a dragging function enabled on it.
I've tried adding Rigidbody2D and BoxCollider2D on both the player prefab as well as the EventSystem but collisions are still not being detected. Is this a result of having a separate EventSystem? Or am I missing something? Also yes I have adjusted the collision matrix
Thanks
Comment