OBD:TRTA: Difference between revisions

127 bytes removed ,  5 April 2021
m
link fix
m (link)
m (link fix)
 
(One intermediate revision by one other user not shown)
Line 31: Line 31:
:The XYZ-offsets in the TRTA are offsets (aka "translations") of a ''bone'' relative to its ''parent'' in that system of coordinates (see above).
:The XYZ-offsets in the TRTA are offsets (aka "translations") of a ''bone'' relative to its ''parent'' in that system of coordinates (see above).
:Thus they effectively specify the relative positions of the joints.
:Thus they effectively specify the relative positions of the joints.
:The different TRTA occurring in Oni are detailed [[OBD_talk:TRTA#Offset_tables|HERE]].
:The different TRTA occurring in Oni are detailed [[OBD_talk:TRTA|HERE]].
;Pelvis
;Pelvis
:Pelvis is further translated with respect to the root bone by the [[OBD:TRAM/raw0x0C|height track]] of [[OBD:TRAM|TRAM]]
:Pelvis is further translated with respect to the root bone by the [[OBD:TRAM/raw0x0C|height track]] of [[OBD:TRAM|TRAM]]
:The root bone is translated by TRAM as well as by the physics engine (jumps, blasts).
:The root bone is translated by TRAM as well as by the physics engine (jumps, blasts).
:''Maybe'' [[OBD:TRAM/raw0x34#Compression_size_16|overlay TRAMs]] generate extra translations of the bones, too.
;Relevant offsets
;Relevant offsets
:You may notice that X and Y offset for thighs and shoulders is very small (it's the left/right i.e. Z that matters there).
:You may notice that X and Y offset for thighs and shoulders is very small (it's the left/right i.e. Z that matters there).