Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite8beb5604c

README.md

geometry.split

The x, y and z components of a Vec3, per element: one value, or one per element of a column.

Inputs

  • vector (Vec3). The vector split: one value, or one per element of a column.

Outputs

  • x, y, z (Float). The components, each the dot product of the vector with its axis.
local parts = g.geometry.split({ vector = vector.create(1, 2, 3) })