Function
Fast
Actor:RotateTo
Smoothly rotates this actor to an angle over a certain time
Syntax
my_actor:RotateTo(rotation, time, exp = 0)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
rotation
|
Rotator | — | — |
time
|
float | — | Time to interpolate from current location to target location |
exp
optional
|
float | 0 |
Exponent used to smooth interpolation. Use <code>0</code> for linear movement |