Reset cutscene facing destination with original camera rotation handoff

This commit is contained in:
UnixNight committed 2026-11-05 15:44:25 -05:00
1 parent 7818cc8d64
commit dae13ace73
24 files changed
+2864 -9

No files matched your search

@@ -15,9 +15,11 @@ the following body pass. Neither control loss nor restoration invents a key flus
PlayerSceneBinding connects raw-owner preparation events to speed/velocity and
supported gadget cleanup, and publishes the simulated root while uncontrolled.
Authored AI transforms update the body too, preventing a later physics publish
from overwriting the script's teleport. Destination yaw is preserved. Pitch/roll
remain director-owned; Jimmy's render/controller still uses the existing yaw
adapter. Initial MCA preparation occurs once, with its first-name guard; later
from overwriting the script's teleport. Authored current writes preserve the
facing destination. The later full-Euler bridge publishes all axes; CAM/MCA
preparation now replaces destinationXYZ with the upright current heading too.
See [rotation feedback](../gameplay/jimmy-rotation-handoff.md).
Initial MCA preparation occurs once, with its first-name guard; later
shots do not repeat it. AI and CAM use their own callback order. STOP notification
follows physical preparation. DEFAULT grants control without preparation.
+6
View File
@@ -1,5 +1,11 @@
# Core architecture coverage map
2026-11-05 handoff correction: CAM/MCA destination state at game+274 is now reset
along with current Euler (20 original-component cases; managed/native Linux
handoff checks). Neutral ground input separately retains residual bank in seven
original trajectories; whole-frame landing comparison remains open. See
[rotation handoffs](../gameplay/jimmy-rotation-handoff.md).
Checkpoint scope: lab → tutorial VR04 → lab → outside, including intro,
explanation, pickup/practice, RETURN, Carl conversation and exit. This compares
source contracts with the current port and preserved playable baseline69d0187,
+9 -2
View File
@@ -9,8 +9,8 @@ corrected its sign-extended byte−1 comparison anchor and added tests/report.
| Boundary | Proven order and source sites |
|---|---|
|CAM with PlayerControlled=NULL|Guard prior raw owner416635;43841665D→41041666B→flatten logical/cached Euler(0,yaw,0)41667E..4166E5→game118(NULL)4166F4. Target lookup occurs later416754. Preparation can precede a missing target/sound failure.|
|Initial MCA activation|First target name `none` guard431300 exits before preparation. A non-none name reaches initial target/animation prelude; missing lookup can continue. Prior owner guard431502;410431512→flatten Euler431525..431578→438431598→game118(NULL)4315A7. Per-shot helper invoked431600.|
|CAM with PlayerControlled=NULL|Guard prior raw owner416635;43841665D→41041666B→flatten current/destination Euler(0,currentYaw,0)41667E..4166E5→game118(NULL)4166F4. Target lookup occurs later416754. Preparation can precede a missing target/sound failure.|
|Initial MCA activation|First target name `none` guard431300 exits before preparation. A non-none name reaches initial target/animation prelude; missing lookup can continue. Prior owner guard431502;410431512→flatten current/destination Euler431525..43158D→438431598→game118(NULL)4315A7. Per-shot helper invoked431600.|
|Later MCA shot|CompleteE0→431750; target/sound/animation work, no410/438 or raw control clear. The sound−1 check431771 sign-extends one immediate byte, not a four-byte immediate.|
|AI PlayerControlled=NULL|Prior raw owner guard40C4AD→41040C4B9→game118(NULL)40C527; no438 or flatten. Named AI ownership remains an older port interpretation requiring broader proof.|
|DEFAULT|447D5C checks whether Jimmy already owns raw control;447E27 restores via118 without410/438. No new key-release boundary is implemented. Music uses authored ownership independently of debug force.|
@@ -38,3 +38,10 @@ animation prelude, all other class virtual effects and full shared camera state
are not certified by this chunk. Existing named control behavior is preserved,
not newly recovered here. Three byte/projection tests and coupled managed
director/body tests guard the implemented ordering and boundaries.
2026-11-05 correction: game+274 is the facing destination, not an independent
render cache. CAM/MCA copy `(0,currentYaw,0,currentW)` into both current and
destination vectors without touching dirty. See
[exact rotation handoff](../gameplay/jimmy-cutscene-rotation-source.md) for20
isolated original-code cases and the recovered fix. STOP alone, AI NULL and
DEFAULT retain their existing separate policies.