Learn to make cutscenes in unity3d by building a stealth Game.

Objective: Challenge the Camera Trigger.

In the first step create a variable called a gameObject called cameraProggresionAngle.

Now Assign each camera angle which is renamed as camera 1 to six and assign it when the main camera should take that position by dragging the camera with a number in the game Object field to the camera progression angle in the inspector.

Ignore the trigger id we don't want it

In this step write pseudo code for this problem to break the problem into pieces to make things easy to tackle.

We use a static class of the main camera to access the main camera which is Camera.main to assign position and rotation.

we don't need a trigger id for now

Note: A static object allow ass to call the method by class level, we don't need to cache anything.

This is how I tackle this challenge, come join me at www.gameDevHq.com

See you in the next article let’s make some games.

--

--

Self taught Unity Developer, who is passion about making games ,and he loves Math For Game Development

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
Suleiman Abdullah

Self taught Unity Developer, who is passion about making games ,and he loves Math For Game Development