Chaotic Motion  1.0
CameraSpin Class Reference

Key control to rotate camera boom using Arrow keys. Scale with +/-. More...

Inheritance diagram for CameraSpin:

Public Attributes

float spinRate = 1f
 Rate of spin (degrees per Update)
 
float boomStep = 2f
 

Detailed Description

Key control to rotate camera boom using Arrow keys. Scale with +/-.

Assumes the Main Camara is a child of the object holding this script with a local position offset (the boom length) and oriented to point at this object. Then pressing the keys will spin the camera around the object this script is attached to.

Definition at line 11 of file CameraSpin.cs.


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