18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 19:57:06 +01:00

docs(eu07m): an animation event takes a node over from the clips and channels for good, and a sheared node loses its shear under a clip

This commit is contained in:
maj00r
2026-11-30 00:32:39 +01:00
parent 6efc1eb718
commit b3916500ce
+5 -1
View File
@@ -272,7 +272,11 @@ parts of a node without a track stay as in its TRS.
nodes, as apart from what an instance sets as it's drawn the nodes are kept by the submodels all the instances share. Each time
the instance is drawn, `RaPrepare()` samples the clips and sets the transforms of the nodes (`TSubModel::SetClipTransform()`,
the animation `at_Clip`) before the animations of the events: an animation event of the scenery moving a node (`rotate`,
`translate`...) takes it over from a clip, one which ended or was stopped included. The nodes the clips move are flagged
`translate`...) takes it over from a clip, one which ended or was stopped included. The takeover is for good: the container
of such an event sets its node again at every draw for as long as it lives, so a clip or a channel started later on that node
doesn't show for that instance. Leave the nodes a model's clips and channels move to them, and the others to the events of the
scenery. A node whose matrix (`XFRM`) is sheared loses the shear once a clip moves it, as a node's TRS can't hold one; keep the
nodes the tracks of a clip move free of shear. The nodes the clips move are flagged
animated at load, so a model with clips isn't instanced. A clip moving the joints of a skin bends the skinned parts (see
"Skinning").
- The TRS fields of a node with a matrix (`XFRM`) are only an approximation of it: the parts the tracks of a clip don't move are