- Home /
Question by
unity_xPqPTs4bCkgEmg · May 29, 2020 at 04:02 AM ·
doorkeyhidden
How do I make a door appear from nothing?
I am making an FPS game and I want there to be a door that appears out of nowhere when you get the key.
screen-shot-2020-05-29-at-15746-pm.png
(62.7 kB)
Comment
Answer by SteenPetersen · May 29, 2020 at 06:03 AM
I would suggest you can create the door and place it where you want it to appear. Then deactivate the gameobject and from script, when picking up a key you can SetActive the door and it will 'appear from nowhere'.
Your answer
![](https://koobas.hobune.stream/wayback/20220612235538im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Make doors open with different keys? 1 Answer
Pick up key and unlock a locked door 1 Answer
Key to open door not working. 1 Answer
Opening a door with a key 2 Answers
Teleporting script when i'm pressing a key in front of a door? 0 Answers