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