Class KaijuObstacleAvoidanceMovementTester
Simple tester for KaijuObstacleAvoidanceMovements.
Inherited Members
Namespace: KaijuSolutions.Agents.Samples.Movement
Syntax
public class KaijuObstacleAvoidanceMovementTester : KaijuMovementTester
Fields
angle
The angle for rays.
Declaration
public float angle
Field Value
| Type | Description |
|---|---|
| System.Single |
height
The height offset for the rays.
Declaration
public float height
Field Value
| Type | Description |
|---|---|
| System.Single |
horizontal
The horizontal shift for the side rays.
Declaration
public float horizontal
Field Value
| Type | Description |
|---|---|
| System.Single |
Properties
Avoidance
The distance from a wall the KaijuAgent should maintain.
Declaration
public float Avoidance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Distance
The distance for rays.
Declaration
public float Distance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
SideDistance
The distance of the side rays. Zero or less will use the Distance.
Declaration
public float SideDistance { 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. |