| name | pace-the-room |
| description | Paces restlessly around the room, criss-crossing it, via a looping sequence of root waypoints. Use when a command mentions pace the room, walk around the room restlessly, roam the room, or crisscross the room pacing. (For straight back-and-forth pacing, use pace.) |
| category | locomotion |
| disable-model-invocation | true |
| subskills | ["walk","turn-and-face"] |
pace-the-room
Restless roaming that criss-crosses the room and loops back to start.
Composes: walk + turn-and-face
How
- Use a
sequence with loop:true. Frame root is ABSOLUTE; compute the travel axis from state.position+state.faceDeg (0=+Z, 90=+X). The example assumes origin facing +Z.
- Criss-cross
root waypoints across the room, returning to the start each loop so it stays consistent.
- Long
durationMs (~6000).
Example
- "pace around the room" ->
{"durationMs":6000,"say":"Pacing around the room.","sequence":{"loop":true,"frames":[{"t":0,"root":{"x":0,"z":0,"faceDeg":0}},{"t":0.3,"root":{"x":1.5,"z":2,"faceDeg":40}},{"t":0.6,"root":{"x":-1.5,"z":1,"faceDeg":210}},{"t":0.8,"root":{"x":0,"z":2.5,"faceDeg":0}},{"t":1,"root":{"x":0,"z":0,"faceDeg":180}}]}}
Limits & posture
Keep ≥1 foot grounded except at a jump's airborne apex; stay inside human joint ranges and keep weight over the support — see balance-and-posture.