Skip to main content

RouteFollower

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

Package: JAVARuntime

Category: AI

Component: yes


public class RouteFollower extends Component

Constructors

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

Attributes

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

Virtual Attributes

NameTypeAccessDescription
findNearestPointVector3getVirtual attribute exposed by getFindNearestPoint. Access it like a field to read or write the underlying value.
findNearestPointIndexintgetVirtual attribute exposed by getFindNearestPointIndex. Access it like a field to read or write the underlying value.
routeRouteget/setVirtual attribute exposed by getRoute. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
findNearestPoint()Vector3Executes findNearestPoint and returns after the underlying engine call finishes.
getNearestPoint()Vector3Returns the current nearest point.
findNearestPointIndex()intExecutes findNearestPointIndex and returns after the underlying engine call finishes.
getNearestPointIndex()intReturns the current nearest point index.
hasPath()booleanReturns whether path is true.
isPathFinished()booleanReturns whether path finished 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.