Changing Character Controller
When we interact with the padlock we disable character movement and camera rotation. In the DisableManager script we reference the player controller so we can disable the FirstPersonController script.
NOTE: If youβre using a different controller please replace these lines with appropriate for you, as can be seen below from the comments. Create a new reference to your character controller and disable movement and camera rotation for your controller.
Last updated