Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Akshat Singh BCG

2
Posts
2
Topics
1
Following
A member registered Apr 08, 2021

Recent community posts

Link for Tutorial (PDF)

CAMERA FOLLOWING AN OBJECTS MOVEMENT

Akshat Singh-20BCG10037

Nehal Pal-20BCG10070

Creating an object and Plane surface.

Codes for moving the object on the Plane created

 

 

 

Testing the object movement by looking at the X, Y, Z axis as the initial were (0,0,0)

Adding a script for Camera

 

 

 

 

 

 

 

 

Script for camera

 

 

 

 

 

 

 

 

Adding a smooth factor

Adding a look at target object to minimize the jitter

 

 

 

 

 

 

 

 

After adding the scripts: - movement of the object and the camera following the object.

 

 

 

 

 

 

 

 

 

Movement after adding some obstacles

 

 

 

 

 

CAMERA FOLLOWING AN OBJECTS MOVEMENT

Akshat Singh-20BCG10037

Nehal Pal-20BCG10070

Creating an object and Plane surface.

Codes for moving the object on the Plane created

 

 

Testing the object movement by looking at the X, Y, Z axis as the initial were (0,0,0)

Adding a script for Camera

 

 

 

 

 

 

 

Script for camera

 

 

 

 

 

 

 

Adding a smooth factor

Adding a look at target object to minimise the jitter

 

 

 

 

 

 

 

After adding the scripts: - movement of the object and the camera following the object.

 

 

 

 

 

 

 

 

Movement after adding some obstacles