Vector Clamp Size Max 2D

Vector Clamp Size Max 2D

Choose your operating system:

Windows

macOS

Linux

Create a copy of this vector, with the maximum 2D magnitude/size/length clamped to MaxSize. Z is unchanged.

Target is Kismet Math Library

Vector Clamp Size Max 2D
A
X0
Y 0
Z 0
Max
Return Value
X0
Y 0
Z 0

Inputs

A
Vector
Max
Float (double-precision)

Outputs

Return Value
Vector

Create a copy of this vector, with the maximum 2D magnitude/size/length clamped to MaxSize. Z is unchanged.