Transform.rotate method

rotate(self, axis: Vector3, angle_in_radians: float) -> Transform:

Rotates this Transform by angleInRadians around world position (0,0,0) towards axis direction.

Parameters

  • axis: Vector3

    rotation axis.

  • angle_in_radians: float

    rotation in radians.

Returns