Point finder

The point finder finds a point on an height field. The point can be the closest point to the agent or the intersection with the agent direction or up vector.



Attributes

AttributesTypeOverridableDescription
heightFieldstringnoThe name of the height field
findOnceboolnoIf off, this module will try to find a point on the height field at every frame
distancedoublenoThe point will be found only when an agent is within this distance to the height field
methoddoublenoThe method used for finding the point on the height field: Closest Point (0) or Intersection (1)
positionMetadataNamestringnoThe destination metadata used to store the target position
upMetadataNamedoublenoThe destination metadata used to store the target up vector
intersectionVectorintnoThe vector used for the intersection with the height field: direction (0), up vector (1) or both (2).
eraseMetadataboolnoErase the metadata once the agent gets further than the distance
debugboolnoActivate the debugging mode



Copyright © 2017, Toolchefs LTD.