Comment on page

Adding Trigger Event

Using the PadlockTrigger script - For use with 3rd Person Controllers
  • Create a box or other 3D Object, make sure this object has a collider set to IsTrigger
  • Add the PadlockTrigger script to that 3D object and add the padlock controller object to the inspector slot named PadlockController
  • By default the interaction key is set to E
Remember to take a look at the demo scene if you have any troubles, it might give you an idea on how to fix an issue.