Find Closest
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Find closest game object at given pattern.
This task can cost performance if you call it every time. See Perception System.
To create it, right-click in the editor and select Create Node/Tasks/Game Object/Find Closest
This task node has a number of fields, that are highlighted in picture below.
Node Name
Name of node.
Ignore About Self
Whether node ignores abort self or not.
Store Result
Store Transform reference of gameobject.
Store Distance
Store Vector3 distance of closest object.
Relative Object
The object to search for.
With Name
Object name.
With Tag
Objects with tag.
Ignore Owner
Ignore if overlap self.
Must Be Visible
Overlap only visible object.