BaseItem.transition.rotate_local method

rotate_local(self, offset: Vector3, axis: Vector3, angle_in_radians: float, duration: float) -> Tweener:

Rotates this item by angleInRadians around an offset towards axis direction over duration.

Parameters

  • offset: Vector3

    offset relative to current position.

  • axis: Vector3

    vector defining the local rotation axis.

  • angle_in_radians: float

    rotation in radians.

  • duration: float

    time in seconds.

Returns

created Tweener