BillboardRotation


Declaration

public sealed class BillboardRotation : MonoBehaviour

Description

Rotates the object so it is always facing the camera.

Properties

lookCameraThe camera to look at. The main camera will be used if not assigned.
spaceThe coordinate space in which the object rotates.
constraintsRestricts rotation around the specified axes.
dampingHow quickly the transform rotates to look at the camera. Small numbers make the transform more responsive. Larger numbers make the transform respond more slowly.
maxSpeedThe maximum amount the transform can rotate per update.