Skip to main content

Vector4.MoveTowards(Vector4 current, Vector4 target, number maxDistanceDelta)

Moves a point current towards target.

Parameters:

NameTypeDescription
currentVector4current
targetVector4target
maxDistanceDeltanumberMax Distance Delta

Usage

---@type Vector4
local current;

---@type Vector4
local target;

---@type number
local maxDistanceDelta;


Vector4:MoveTowards(current, target, maxDistanceDelta)