- Home /
Question by
Ledismolina21 · Sep 08, 2019 at 05:53 PM ·
c#doorscondition
How to create a visible barrier that they player can deactivate only by using an specific game object?

Something like that. That can only be deactivated if you get a certain gameobject.
Thank you in advance for your help.
doorbarrier-example.jpg
(164.5 kB)
Comment
Best Answer
Answer by EtherealPineapple · Sep 08, 2019 at 06:43 PM
You could always create an empty GameObject with a 3D collider, which you then disable upon getting a certain GameObject via a script.
Your answer