BaseItem.transition.rotate_local method
Rotates this item by angleInRadians
towards axis
direction over duration
.
Parameters
-
axis: Vector3
vector defining the local rotation axis.
-
angle_in_radians: float
rotation in radians.
-
duration: float
time in seconds.
-
callback: Callable[[], None]
function to call when the
Tweener
ends.
Returns
created Tweener