urt-rs / docs /research /QVM_WALK_POLICY.md
nmarshall's picture
qvm: walking speed policy
bbf9a55
|
Raw History Blame Contribute Delete
1.29 kB

Recover walking speed policy acceleration projection and resource

RE-557. Reproduce with python3 scripts/analyze_qvm_walk_policy.py; check with python3 scripts/test_qvm_walk_policy.py. The machine report retains source identity and bounded fixtures.

The44110..45142 source evaluates flag1 speed override, state128 cap, resource interpolation below7500 with a source220-based floor, level-dependent cap and the state128 timestamp modulo500<250 override. The timed override occurs after earlier caps. Surface2 or flag64 selects the low coefficient and subtracts gravity before saving speed; above-max wish speed selects the special4.05 coefficient. Velocity is clipped, may be zeroed when old/new dot falls below−0.5, normalized/rescaled, then clipped and normalized/rescaled again. The resource helper receives the saved speed from before these projections, unlike the flagged mode's post-slide measurement. Wrapper and horizontal-zero routing remain for task10; native roots/configuration and legal runtime inputs are still supplied.

No original executable/full QVM/native collision/physics/rendering executes. Native responses and legal input domains are supplied or unverified where stated; full runtime/macOS/Linux Rust/Bevy/Solari gameplay remains open.