AgentCircleRepositionSettings
A class in Root.Township, Alta.Intelligence.
Settings for ActiveCircleReposition: a short sidestep around the target, left or right, by a set angle.
- Listed in Creatures and AI
- Inherits or implements
TimedActionComponent - Derived types
ActiveCircleReposition - Nested types
MovementDirection
Constructors
| Member | What it is |
|---|---|
AgentCircleRepositionSettings() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
6 private and internal fields
| Member | What it is |
|---|---|
private bool isFacingTarget | Backing field for IsFacingTarget. |
private bool isMovingBackwards | Backing field for IsMovingBackwards. |
private AgentCircleRepositionSettings.MovementDirection movementDirection | Right or left. |
private float movementDuration | Backing field for MovementDuration. |
private float raycastHieght | Backing field for RaycastHieght. |
private float repositionAngle | Angle in degrees to move around the target. |
Properties
Methods
| Member | What it is |
|---|---|
protected override IAction GetAction() | Works out IsMovingRight and RepositionAngle, then builds the ActiveCircleReposition action. |