RotateAround||doc136420

September 20, 2022

Format

MovableNode:RotateAround(center, axis, angle)

Describe

The control instance rotates a certain angle around an axis of a point. It can be used in scenes that revolve around something, such as the earth revolving around the sun.

parameter

Variable name Type Describe
center Vector3 Center point around
axis Vector3 Axis around
angle float Rotation angle