simulate_movement
Predict entity trajectories, test AABB obstacle collisions, and compute navigation waypoints in a spatial world model before executing movement.
Instructions
Predict entity trajectory, test for AABB obstacle collisions, or compute navigation waypoints (modes: simulate, navigate, waypoints). Read-only simulation. Returns {ok, is_valid, destination, collisions[], waypoints[]}. Use simulate_movement instead of record_outcome when testing hypothetical motion and collisions before executing an action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Operation mode: "simulate" (default) for physics/collision, "navigate" or "waypoints" for path planning | |
| project | No | Optional project identifier | |
| velocity | No | Velocity vector in units per second | |
| entity_id | No | Entity ID to simulate or move | |
| delta_position | No | Relative movement displacement | |
| start_position | No | Starting 3D coordinates for navigation mode | |
| start_entity_id | No | Starting entity ID for navigation mode | |
| target_position | No | Target position destination | |
| check_collisions | No | Whether to test for AABB obstacle collisions (default: true) | |
| duration_seconds | No | Movement duration in seconds | |
| target_entity_id | No | Target destination entity ID for navigation mode |