Point finder

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

Attributes

Type

Overridable

Description

heightField

string

no

The name of the height field

findOnce

bool

no

If off, this module will try to find a point on the height field at every frame

distance

double

no

The point will be found only when an agent is within this distance to the height field

method

double

no

The method used for finding the point on the height field: Closest Point (0) or Intersection (1)

positionMetadataName

string

no

The destination metadata used to store the target position

upMetadataName

double

no

The destination metadata used to store the target up vector

intersectionVector

int

no

The vector used for the intersection with the height field: direction (0), up vector (1) or both (2).

eraseMetadata

bool

no

Erase the metadata once the agent gets further than the distance

debug

bool

no

Activate the debugging mode


 

 

Copyright © 2017, Toolchefs LTD.