26 lines
1.5 KiB
Markdown
26 lines
1.5 KiB
Markdown
# Bear animation group binding
|
|
|
|
40250 `EterGrnLib/ModelInstanceUpdate.cpp::UpdateTransform` delegates to
|
|
`GrannyUpdateModelMatrix`; that gameplay caller remains unchanged. ModelInstanceMotion
|
|
binds controls through `GrannyPlayControlledAnimation`.
|
|
|
|
The real packed bear model is named Bip01. Both `bear/02.gr2` (walk) and `03.gr2`
|
|
(run) contain Hedra first, Bip01 second. Hedra has zero accumulation; Bip01 has
|
|
the translation in the corresponding unchanged MSA (-93.25 and -299.89 Y).
|
|
The previous adapter exposed a count of two with one public group pointer, flattened
|
|
bone binding across groups, and always accumulated the first group's translation.
|
|
|
|
The reader now preserves each group's name, placement, accumulation, text tracks,
|
|
and flattened-track range. Runtime controls match the model name, excluding morph
|
|
groups, and use only the selected group for bone binding and root accumulation.
|
|
|
|
`tests/port/port_granny_root_motion_test.cpp` loads those assets through PackBackend
|
|
and the runtime APIs used by the live client. It checks both public groups, rotated
|
|
root displacement across a loop boundary, inverse displacement, and stationary Hedra.
|
|
The same test linked with HEAD's previous GrannyRuntime fails six assertions; the
|
|
updated runtime passes. Desktop and `MT_TEST_MOBILE=1` login-flow regressions pass.
|
|
Native macOS renderer and Android debug APK builds pass.
|
|
|
|
This is narrow evidence for constant-extracted motion. VDA extraction and complete
|
|
Windows Granny output equivalence remain unverified; the aggregate contract stays PARTIAL.
|