RotationAction¶
Inherits: TimedAction
C++ type: RotationAction
Description¶
Animates the rotation property of its target object using quaternion spherical linear interpolation (slerp) between a start and end rotation.
Methods¶
| Type | Name | Langs |
|---|---|---|
| void | setAction | C++ | Lua |
Method details¶
setAction¶
- void setAction(Quaternion startRotation, Quaternion endRotation, float duration, bool loop = false)
Configures the tween. startRotation and endRotation are quaternion values. duration is in seconds.