Docs

Vec3 Subtract

Component-wise A minus B on two 3D vectors, usually to get the offset from a centre to the sample point.

Vec3 Subtract node

The Vec3 Subtract node

When to use it

Component-wise A minus B on two 3D vectors, usually to get the offset from a centre to the sample point.

Follow it with Vec3 Length for a distance, or Vec3 Normalize for a direction.

Pins

Pin Type Description
AX Number A X component.
AY Number A Y component.
AZ Number A Z component.
BX Number B X component.
BY Number B Y component.
BZ Number B Z component.
Pin Type Description
X Number The result's X component.
Y Number The result's Y component.
Z Number The result's Z component.