BillboardRotation
Class in Zigurous.Animation
Declaration
public sealed class BillboardRotation : MonoBehaviour
Description
Rotates the object so it is always facing the camera.
Properties
lookCamera | The camera to look at. The main camera will be used if not assigned. |
space | The coordinate space in which the object rotates. |
constraints | Restricts rotation around the specified axes. |
damping | How quickly the transform rotates to look at the camera. Small numbers make the transform more responsive. Larger numbers make the transform respond more slowly. |
maxSpeed | The maximum amount the transform can rotate per update. |