Stage Take Replay
stage_take_replaySimulate user input by playing back a recorded take to drive virtual hands and camera movements. Observe how the page responds to gestures, grabs, and complex touch interactions during the playback.
Instructions
Replay a take as input: its head drives the page's camera and its tracked hands drive the page's hands, through
the same hands.js, touch.js and grab.js a real hand goes through, so gestures, pinches, grabs and drops happen
again offline (page command: replay_input, page/replay.js). The test for "he reached for the ball and took the
table": replay his take and read what the page grabbed. takes= the scene the take is in (default scene);
start/end trim it in the take's seconds; rate 1 for grab verdicts (grab counts use wall time); grab=True turns
grab by touch on for the replay and back after; show draws the joints as small balls (left blue, right orange).
Hands only: a controller take, a runtime select or a stick does not replay; the target ray is approximated from the
shoulder through the palm. Refused while someone is in VR on that page: run it on a page nobody wears (a private
stage, or the live one while stage_presence says nobody is in VR). wait=True waits for the take to finish and
replies with what the page did, one line per event with the take's time, then what the take itself recorded
(its own grab and drop marks) to compare; wait=False replies at once, and the result comes as the replay_done
event. replay_input {stop: true} (stage_take_replay_stop) ends it early. Emits: replay_start, replay_done, and
whatever the hands do (gesture, hand_rest, grab_counting, grabbed, grab_releasing, grab_released, grab_landed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| grab | No | ||
| rate | No | ||
| show | No | ||
| take | Yes | ||
| wait | No | ||
| scene | Yes | ||
| start | No | ||
| takes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |