Nearest Point on Mesh¶
Functionality¶
Finds the closest point in a specified mesh.
Inputs¶
Vertices, Faces: Base mesh for the search Points: Points to query Distance: Maximum query distance (only for Nearest in Range mode)
Parameters¶
Mode:
Nearest: Nearest point on the mesh surface
Nearest in range: Nearest points on the mesh within a range (one per face)
Flat Output: (only in Nearest in Range) Flattens the list of every vertex to have only a list for every inputted list.
Safe Check: (in N-Panel) When disabled polygon indices referring to unexisting points will crash Blender. Not performing this check makes node faster
Outputs¶
Location: Position of the closest point in the mesh
Normal: mesh normal at closets point
Index: Face index of the closest point
Distance: Distance from the queried point to the closest point
Examples¶
Used as skin-wrap modifier:
Generator-> Segment
Generator-> IcoSphere
Viz-> Viewer Draw
Generator-> Segment
Generator-> IcoSphere
Vector-> Vector Lerp
Viz-> Viewer Draw
Determine which polygons are nearer than a distance:
Generator-> Plane
Generator-> IcoSphere
Number-> A Number
Vector-> Vector In
List->List Main-> List Length
List-> Index To Mask
Text-> Stethoscope
Placing objects on mesh:
Generator-> Segment
Generator-> IcoSphere
Generator-> Cricket
Transform-> Move
ADD: Number-> Scalar Math
Vector-> Vector In
Matrix-> Matrix Normal
Viz-> Viewer Draw