Class KaijuPathFollowMovementTester
Simple tester for KaijuPathFollowMovements.
Inherited Members
Namespace: KaijuSolutions.Agents.Samples.Movement
Syntax
public class KaijuPathFollowMovementTester : KaijuMovementTester
Fields
collisionMask
The collision mask for string-pulling line-of-sight checks.
Declaration
public int collisionMask
Field Value
| Type | Description |
|---|---|
| System.Int32 |
mask
A bitfield mask specifying which navigation mesh areas can be used for the path.
Declaration
public LayerMask mask
Field Value
| Type | Description |
|---|---|
| LayerMask |
triggers
How line-of-sight checks should handle triggers.
Declaration
public QueryTriggerInteraction triggers
Field Value
| Type | Description |
|---|---|
| QueryTriggerInteraction |
Properties
AutoCalculateDistance
The distance to automatically recalculate the path from.
Declaration
public float AutoCalculateDistance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Distance
The distance at which we can consider this behaviour done.
Declaration
public float Distance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
Assign(KaijuAgent)
Assign this KaijuMovement to the one of the KaijuSolutions.Agents.
Declaration
protected override KaijuMovement Assign(KaijuAgent agent)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgent | agent | The KaijuAgent. |
Returns
| Type | Description |
|---|---|
| KaijuMovement | The KaijuMovement. |