Wander Area
Last updated
Last updated
The wander area is a improved version of the Waypoint. the Difference is that it uses an Area to find the next position to go to, and it can transition to itself
You can also use nested wander areas to have different shapes besides Box and Circle
Add the Wander Area to your AI Control Target Parameter and that should be it.
This will establish if this area is on the Ground, Air, Water, or Underwater. Air types will activate the Fly State, UnderWater will activate the underwater State.
Default height for the waypoints. This parameter is used for the Look At Decision in the Brain Component. So the LookAt Ray is not pointing directly to the ground.
Min Distance that the Ai Animal will stop when Arrives at the waypoint.
Distance to start slowing its speed when arriving to this gameobject. If set to 0 or lower than the stopping distance, the slowing movement logic will be ignored
Maximum and Minimum wait time needed to wait before choosing the next waypoint
Use a Circle or a Box area.
Radius of the circle area
A Vector3 which determines the box dimensions
Probability of keep wondering on this same Wander Area. Meaning the next waypoint will be itself.
List of next waypoints to go to.
Invokes when a target arrives to this wander area