DocsNodesVectors

Combine XYZ

Builds one direction or position out of three separate numbers.

vector, xyz, make vector, position, direction, triple
Category
Vectors
Outputs
vector
Runs live in
Godot, Roblox

Anywhere the editor shows X, Y and Z as three rows, this fills all three at once. Wire it into a Transform's position, a cube's size, a curve's control point, or a noise offset, and one wire covers the whole triple.

It is the node that lets a computed value drive a position. Work out a height with Math, feed it in as Y, and the part follows.

Inputs

SocketTypeWiring

Parameters

NameTypeDefaultAvailable whenWhat it does
Xnumber0always
Ynumber0always
Znumber0always

Built with this node

Nothing in the manual is built around this node yet.

See also

  • separateXYZThe reverse: pulling one component back out of a vector.
  • vectorMathTo add, scale or otherwise work on vectors once you have them.

Open the editor and try it