DocsNodesFields

Distance

How far each point is from a place you choose.

radius, falloff, near, far, ring, radial, blast, proximity
Category
Fields
Outputs
field
Runs live in
Godot, Roblox

Rings, falloffs, blast radii, anything that fades away from a centre. Give it a point, or wire a part in and it measures from that.

The axis weights are what make it more than a sphere. Leave all three on and you get distance from a point, which is spherical. Turn one off and you get distance from a line, which is a tube or a ring. Turn two off and you get distance from a plane, which is a stripe.

Inputs

SocketTypeWiring
targetgeometry, optional
centervectorone wire covers centerX, centerY, centerZ

Parameters

NameTypeDefaultAvailable whenWhat it does
Xnumber0always
Ynumber0always
Znumber0always
Weight Xnumber1always
Weight Ynumber1always
Weight Znumber1always

Built with this node

  • Vary copiesHow-to
  • Vary Copies by Where They Areteaches this

See also

  • compareTo cut the falloff into a hard-edged region.
  • mapRangeTo reshape the falloff, or flip it so it grows inward.

Open the editor and try it