Skip to main content

PathFinder

Complete API reference for PathFinder, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: AI

Component: yes


public class PathFinder extends Component

Constructors

SignatureDescription
PathFinder(PathFinder)Executes PathFinder and returns after the underlying engine call finishes.
PathFinder()Executes PathFinder and returns after the underlying engine call finishes.

Attributes

NameTypeDescription
componentPathFinderRepresents the component value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
searchDelayfloatget/setVirtual attribute exposed by getSearchDelay. Access it like a field to read or write the underlying value.
targetSpatialObjectget/setVirtual attribute exposed by getTarget. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
getTargetDistance()floatReturns the current target distance.
getTargetDistanceInPath()floatReturns the current target distance in path.
hasPath()booleanReturns whether path is true.
hasTarget()booleanReturns whether target is true.
componentClassMatch(Component, Component)booleanExecutes componentClassMatch and returns after the underlying engine call finishes.
getEngineComponent()ComponentExecutes getEngineComponent and returns after the underlying engine call finishes.