Project created for one of the 30 days of codevember 2018. The theme of that day was Keys.
For this project I decided to take the genre of terror so I modeled a simple scenario with a laboratory theme with doors that require ID Cards to unlock. The AI of the enemy is made based on a state machine that works together with the NavMesh. These states allow the enemy to know if he should attack, search for the player, follow him or open a blocking door their way.
Doors open if the following conditions are met: The player must be close, the player must be watching
towards the door, the player must have the ID Card corresponding to said door.
The assets used for this project were:
Lens Flares