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 | The object's forward and up axes align to the spline's tangent and up vectors. |
|
SplineObject | The object's forward and up axes align to the spline tranform's z-axis and y-axis. |
|
World | The object's forward and up axes align to to the world's z-axis and y-axis. |