Get Closest Element Index From Vector Array

Finds the closest element to an input position from a Vector3 array.

Success: When the backboard key could be set.

Failure: When the backboard key could not be set.

Running: Never


Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
inputPositionvector3The input position
indexBlackboardKeyintThe index of the closest element from the array
inArrayBlackboardKeyvector3 arrayBlackboard array key containing the elements used for finding the closest position

Copyright © 2017, Toolchefs LTD.