DistanceSquaredSense
A class in Root.Township, Alta.Intelligence.
Sense asset giving the squared ground distance between the creature and a target, ignoring height differences up to yFlexibility.
- Listed in Creatures and AI
- Inherits or implements
Sense - Derived types
DistanceSquaredSense.Create - Nested types
Create - Documented in Targets and senses
Constructors
| Member | What it is |
|---|---|
DistanceSquaredSense() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
Methods
| Member | What it is |
|---|---|
override float Get(IAgent requester, ITarget target) | The squared distance between the two ground positions. |