Hey everyone!
So I’ve been searching on for forums for similar problems but all I’ve found is unanswered questions. So here it goes:
I’ve been making an FPS game and I want somehting to happen when the Character enters a room. So I created a collider on a decal which the character has to go through in order to get into the room, and after a few seconds the door should close.
-
I tried setting the decal into a trigger and used “OnTriggerEnter” in a script which is applied on the decal,didn’t work.
-
I’ve tried expanding the radius on the FPS controller (the standard from unity) → nothing.
-
tried to make the FPS controller into a trigger (with the help of a script) and tried to use “OnTriggerEnter” on the decal but failed there aswell.
-
I tried with OnCollisionEnter which also failed and resultet in no response
So what should I do?, what am I doing wrong?