Skip to main content

To Vector Index

ValueAdapter_FloatToVector3Index puts a Float into one component of a Vector3 and sets the others to 0.

FieldDescription
Vector IndexThe component that receives the value: 0 = X, 1 = Y, 2 = Z.

Example​

A jump height of 3 turned into an upward offset:

Vector IndexResult
0(3, 0, 0)
1(0, 3, 0)
2(0, 0, 3)