Unity RTS Engine

  1. Home
  2. Unity RTS Engine
  3. Units
  4. Wander Component

Wander Component

Add the Wander component to the main unit’s object to add the wandering functionality to the unit.

  1. Is Active: The wandering functionality will only be enabled if this field is enabled.
  2. Active By Default: When enabled, then as soon as the unit spawns it will start wandering.
  3. Fixed Center: When enabled then the unit will have a fixed wander center (which is the unit’s position when it first started wandering). When the above option is enabled as well, then the unit will simply keep wandering around its spawn position.
  4. Range: How far can the unit wander to in relation to its wandering center?
  5. Reload Range: Duration between each time the unit decides to go to a different position while it is wandering.

How can we help?