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
| Signature | Description |
|---|---|
RouteFollower(RouteFollower) | Executes RouteFollower and returns after the underlying engine call finishes. |
RouteFollower() | Executes RouteFollower and returns after the underlying engine call finishes. |
Attributes
| Name | Type | Description |
|---|---|---|
component | RouteFollower | Represents the component value stored on this instance. Read or assign to update the property. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
findNearestPoint | Vector3 | get | Virtual attribute exposed by getFindNearestPoint. Access it like a field to read or write the underlying value. |
findNearestPointIndex | int | get | Virtual attribute exposed by getFindNearestPointIndex. Access it like a field to read or write the underlying value. |
route | Route | get/set | Virtual attribute exposed by getRoute. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
findNearestPoint() | Vector3 | Executes findNearestPoint and returns after the underlying engine call finishes. |
getNearestPoint() | Vector3 | Returns the current nearest point. |
findNearestPointIndex() | int | Executes findNearestPointIndex and returns after the underlying engine call finishes. |
getNearestPointIndex() | int | Returns the current nearest point index. |
hasPath() | boolean | Returns whether path is true. |
isPathFinished() | boolean | Returns whether path finished is true. |
componentClassMatch(Component, Component) | boolean | Executes componentClassMatch and returns after the underlying engine call finishes. |
getEngineComponent() | Component | Executes getEngineComponent and returns after the underlying engine call finishes. |