- Home /
Prevent collision between prefab clones on a 2d mode?
Hi,
I currently have a rigidbody2 prefab which I instantiate randomly. These clones move around a certain space in the camera. There are other game objects with colliders (edge) which will decide the fate of the prefab clones. However, when 2 or more of these prefab clones collide with each other it sorts of mess up my game logic.
I would like to know how I can prevent the prefab clones from colliding with each other but allow collision to the other colliders (edge).
Is this something that can be done thru the inspector or do I need to add specific codes?
Your answer
Follow this Question
Related Questions
How to make a little wiggle room for the collision? 1 Answer
Bullet hit the collider of a child object 1 Answer
Error with changing 2D physics material through a script 0 Answers
Polygon Collider 2D weird behaviour when rotating 0 Answers
Rigidbody2D with edgecollider adding force on collision 0 Answers