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

Suleiman Abdullah
2 min readSep 21, 2022

--

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.

--

--

Suleiman Abdullah

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