Fixed Angles Camera System Part 1

Switching between camera angles based on player movement

Added some particles for visibility

Camera Switch Triggers

Player components

CameraTrigger Script

//handle
[SerializeField] private GameObject _targetCamera;

private void OnTriggerEnter(Collider other)
{
if (other.tag == "Player")
{
Camera.main.transform.position = _targetCamera.transform.position;
Camera.main.transform.rotation = _targetCamera.transform.rotation;
}
}

Result

--

--

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
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.