Guard AI part 1


Placeholder to Player Model


Make Camera Look At Player

[SerializeField] private GameObject _player;

void Update ()
{
transform.LookAt(_player);
}

Switching between camera angles based on player movement

Added some particles for visibility

Camera Switch Triggers


Prevent Player from moving through Objects


Move Player along a Nav Mesh

What code do we need to add

Update our Code

using UnityEngine.AI;

Result Code

using UnityEngine;
using UnityEngine.AI;

public class Player…

Using Mouse input and raycast to get a position in world space

Player Script Pseudocode

Player Script Actual Code


Preparations of the floor and player

Baking the Floor


How to add audio to our timeline


How to organize the timeline when having a complex cutscene

Cutscene with lots of animated camera’s

Tristan Engel

Aspiring developer that’s self-learning Unity & C# to transition to a career with Unity. I got a passion for creating interactive experiences.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store