Adding Trigger Event
Last updated
Last updated
This is useful for: Third Person Controllers
Create a cube or other 3D Object to act as your trigger, make sure this object has a collider set to IsTrigger
Add the SafeTrigger script to that 3D object and add the safe object to the inspector slot named. (The safe object will have the script SafeItem)
On the specific Safe Controller object make sure to tick the isTriggerInteraction box and add the trigger to the empty slot in the inspector