Enum SplineAnimate.AlignmentMode
Describes the ways the object can be aligned when animating along the Spline.
Namespace: UnityEngine.Splines
Syntax
public enum AlignmentMode
Fields
| Name | Description | Value |
|---|---|---|
| None | No aligment is done and object's rotation is unaffected. |
|
| SplineElement | Object's forward and up axes align to the Spline's tangent and up vectors. |
|
| SplineObject | Object's forward and up axes align to the Spline tranform's Z and Y axes. |
|
| World | Object's forward and up axes align to to the World's Z and Y axes. |