MWayPoint
✔
Last updated
✔
Last updated
This component is used by AI Animal Control to assign new targets to follow. the difference between AI Target and this component is once the AI animal arrives. it can wait for a period of time and select a new target to follow from the Next Waypoint list.
This component inherits from the AI Target component.
Type of waypoint. This is used for the Animal to identify if the waypoint is in water, in air, or on the ground, so he can properly use Locomotion, Swim, or Fly states.
The height is used on the Brain Component. This allows the Look At Decision to use an Offset in the Y-Axis when casting the Look Ray. That way the Ray does not hit the ground when A waypoint is the Target of an AI Animal.
Min Distance that the Ai Animal will stop when Arrives at the waypoint.
Minimum wait time needed to wait before choosing the next waypoint
Minimum wait time needed to wait before choosing the next waypoint
Changes the color of the Debug Radius.
It creates automatically a duplicated Waypoint and set it as the next waypoint.
Array of transform waypoints the animal can go next. When the animals arrives to the waypoint, the next one will be chosen randomly from this list.
This event is invoked when the AI Animal arrives to the waypoint. It sends as a parameter the GameObject of the AI Animal.