Skip to content

Slerp

Description

Slerp is a Function on Vector3
Returns a Vector3 in between two given Vector3, based on a given value t between 0 and 1. The difference between this and Lerp is that Slerp treats the given Vector3s as directions instead of positions.

Example
local testVariable = Vector3.Slerp(Vector3.New(1, 1, 1), Vector3.New(1, 1, 1), 1.0)
Usage

network usage: Any (Client or Server/Host)
returns: Vector3
parameters:
- a (Vector3)
- b (Vector3)
- t (float)