M2Bone
struct · models · 108 bytes
- Meaning
- Holds a bone record of an MD20 file: key bone id, flags, parent, three tracks and pivot
- Confidence
- verified, proof one
- Finding
- models/records#bone-record
Finding: Bone record in models: records
A bone is 0x6c bytes.
| offset | holds |
|---|---|
+0x00 | key bone id, −1 for none |
+0x04 | flags, or'd with the runtime flags |
+0x08 | parent bone, 16-bit |
+0x0c, +0x28, +0x44 | translation, rotation and scale tracks |
+0x60 | pivot, three floats |
The derivation is in the doc.
Fields 5
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | int32_t | m_keyBone | Holds the key bone id, -1 for none | verified, proof one | models/records#bone-record |
0x0004 | 4 | uint32_t | m_flags | Holds the flags | verified, proof one | models/records#bone-record |
0x0008 | 2 | uint16_t | m_parent | Holds the parent bone | verified, proof one | models/records#bone-record |
0x000c | 84 | uint8_t[84] | m_tracks | Holds the translation, rotation and scale tracks | verified, proof one | models/records#bone-record |
0x0060 | 12 | float[3] | m_pivot | Holds the pivot | verified, proof one | models/records#bone-record |