Week 4 – UmLet

dynamiccamera-cs

The _target transform is used to stock the position of the respective object that is followed.

The _smooth is used to update the camera at a certain time, as to avoid the sudden change of its position.

The variable offset is used to register the difference between the position of the object and the camera.

_targetCamPosition is just used to replace the transform of the camera to the new position.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s