Walk¶
Purpose¶
Moves the entity toward its configured goal using planned ground traversal, jumping, falling, or drop-through steps.
Key inputs / outputs¶
- Shared movement inputs:
type,path, and the selected target (tracing,destination, or wander settings), plusgoal,distanceMetric, andreachDistancewhere applicable. - Walk parameters:
speed,speedModifier,accelerateRate,jumpHeight,jumpLength, andsetFinalPositionfor completed wander behavior. - Outputs: none.
Success / Failure semantics¶
- Success when the configured movement goal is reached.
- Failure when the target or route is invalid, traversal cannot be prepared, or movement cannot continue.
Important limitations¶
- Requires the navigation runtime, a
Rigidbody2D, enabled navigation colliders, and a control target implementingIMovementSource. - Jump segments require a valid grounded launch support and a trajectory accepted by the configured jump parameters.