Skip to content

RotateAround

Description

RotateAround is a Server/Host ONLY Function on Object
Tells this object to rotate and reposition to rotate around a given position. The rotation is by a given angle in degrees and happens along the given axis over the given amount of time. Calling this again while the object is still rotating from a previous call will cancel the original one.

Example
Object.RotateAround(Vector3.New(1, 1, 1), Vector3.New(1, 1, 1), 1.0, 1.0)
Usage

network usage: Server/Host ONLY
returns: None
parameters:
- position (Vector3)
- axis (Vector3)
- angle (float)
- time (float)