Skip to content

RotateTowards

Description

RotateTowards is a Server/Host ONLY Function on Object
Tells this object to rotate from its current forward direction towards a given position over a given amount of time. Calling this again while the object is still rotating from a previous call will cancel the original one.

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

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