its 2d game with 3d object , i want to add 3 collisions to that circle , with 3 different spheres keeps on spawning , so when specific sphere collides with its specific area the sphere gets destroyed and the game keeps on going , but if the sphere collides with the wrong area its game over , so is it possible to add 3 collision areas in the circle ? ----i trully need some solutions , and thanks in advance ! see image below
For something like this I would probably only use a single collider and then check the angle that the object collided at.
Like this:
In this way you could detect the collision once and then see which zone it matched with a simple if/then. Also, you could have the angles adjust if your 3-part disc is rotating by adding or subtracting the current angle.
Not sure if that makes sense.
Yes, you can add colliders to a 3D object in a 2D game, The colliders have to be 2D as they cannot interact with 3D colliders.
yeah the disc rotates ,however i been searching for a way to put this into code (since im a newbie) , but nothing so far , i mean i truly appreciate your help , but if u provided a code as to how i can achieve such a result it would be awesome ! thank you ! @EgoAnt