CameraController Class Reference

A third-person camera controller class. More...

List of all members.

Public Member Functions

void MoveToStart ()
 Moves the camera to its starting position.

Public Attributes

GameObject target
 The object the camera should track.
Vector3 offset
 The offset from this object to position the camera.
Vector3 center
 The center to which the camera should focus, local to the target.
bool align = true
 Whether to align the camera to the object's orientation.
float warpScale = 1
 The amount the field of view is affected by speed.
float maxWarp = 15
 Maximum increase in field of view.
float wallAvoid = 0.5f
 The distance from walls the camera should try to keep.
int forceFrameRate = 0
 If set the clipping plane is pulled forward until the target frame rate is reached.

Static Public Attributes

static bool Profile = false

Detailed Description

A third-person camera controller class.


Member Function Documentation

void CameraController.MoveToStart (  ) 

Moves the camera to its starting position.


Member Data Documentation

Whether to align the camera to the object's orientation.

The center to which the camera should focus, local to the target.

If set the clipping plane is pulled forward until the target frame rate is reached.

More of a debugging tool than a practical option

Maximum increase in field of view.

The offset from this object to position the camera.

The object the camera should track.

The distance from walls the camera should try to keep.

The amount the field of view is affected by speed.


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

Generated on Fri Aug 21 09:09:57 2009 for Hamlington Underground Racing Association by  doxygen 1.6.0