A* Pathfinding Project  4.1.14
The A* Pathfinding Project for Unity 3D
AstarSmoothFollow2 Class Reference

Smooth Camera Following. More...

Detailed Description

Smooth Camera Following.

Author
http://wiki.unity3d.com/index.php/SmoothFollow2

Public Attributes

float damping = 5.0f
 
float distance = 3.0f
 
bool followBehind = true
 
float height = 3.0f
 
float rotationDamping = 10.0f
 
bool smoothRotation = true
 
bool staticOffset = false
 
Transform target
 

Private Member Functions

void LateUpdate ()
 

Member Function Documentation

◆ LateUpdate()

void LateUpdate ( )
private

Member Data Documentation

◆ damping

float damping = 5.0f

◆ distance

float distance = 3.0f

◆ followBehind

bool followBehind = true

◆ height

float height = 3.0f

◆ rotationDamping

float rotationDamping = 10.0f

◆ smoothRotation

bool smoothRotation = true

◆ staticOffset

bool staticOffset = false

◆ target

Transform target

The documentation for this class was generated from the following file: