S
S
Shahnazar Sailaukan2020-05-05 17:22:22
Unity
Shahnazar Sailaukan, 2020-05-05 17:22:22

Are there ways to determine if an object is touching another, yet allowing one object to pass through the other?

I am making a 2D game, the meaning of which is to destroy falling objects by pressing the right keys. There was a problem with prescribing a script to prohibit clicking while the object is in the desired zone. How can I install a kind of collider on this zone to find out if the object and the zone are in contact. Is it possible? Unfortunately I have tried all possible other ways but for some different reasons it is not possible the
5eb1763cebf1f568476725.png
purple stripe is the same zone, objects are falling from above
please help if possible

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DanielMcRon, 2020-05-05
@XVIIIAX

OnTriggerEnter2D or what?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question