CorrectedRotationSlerp
A class in Root.Township, the global namespace.
Sets local rotation between two Euler angles from a progress value, through a correction curve.
- Listed in Global namespace: C to D
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
CorrectedRotationSlerp() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
Methods
| Member | What it is |
|---|---|
void SetRotation(float progress) | Evaluates the curve, lerps between the two Euler angles and applies it. |