ActiveCircleTarget
A class in Root.Township, Alta.Intelligence.
Server: running action that walks a creature in a circle around its target at a set distance, for a random duration. Settings come from AgentCircleTargetSettings.
- Listed in Creatures and AI
- Inherits or implements
BasicActiveAction<Agent, AgentCircleTargetSettings> - Documented in Actions and decisions
Constructors
| Member | What it is |
|---|---|
ActiveCircleTarget() | Creates an ActiveCircleTarget with default values. |
Fields
2 private and internal fields
Methods
2 private and internal methods
| Member | What it is |
|---|---|
private void Clean(IActiveAction finished) | Unhooks the end events and clears the walker's forward facing flag. |
private bool GetPosition(Vector3 targetPosition, Vector3 topicPosition, Vector3 toPosition, ref Vector3 intendedPosition) | Finds the next point on the circle around the target, checking for walls and ground. False if the way is blocked. |