LockRotation
Class in Zigurous.Animation
Declaration
public sealed class LockRotation : MonoBehaviour
Description
Locks the rotation of the transform to a specified value.
Properties
space | The coordinate space the transform is updated in. |
constraints | The rotation axes to lock. |
useTransformRotation | Sets the locked rotation to the transform's rotation at startup. |
lockedRotation | The locked rotation of the transform. |