|
|
Line 23: |
Line 23: |
| |} | | |} |
|
| |
|
|
| |
|
| |
| there are 19 bones per human body
| |
|
| |
| when composing a body of them, one at first rotates a particular body part in the order: z, y, x; then translates the bodypart to the vector from the TRTA array, and then applies parent body part's transformation to it
| |
|
| |
|
| |
| the rotation values are: (took it from OniBrowser and modified some angles)
| |
|
| |
| <code>
| |
| <pre>
| |
| (PI/2, PI, PI/2), // pelvis
| |
|
| |
| (0, PI, 0), // left thigh
| |
| (0, 0, 0), // left calf
| |
| (0, 0, 0), // left foot
| |
|
| |
| (0, PI, 0), // right thigh
| |
| (0, 0, 0), // right calf
| |
| (0, 0, 0), // right foot
| |
|
| |
| (0, 0, 0), // mid
| |
| (0, 0, 0), // chest
| |
| (0, 0, 0), // neck
| |
| (0, 0, 0), // head
| |
|
| |
| (PI/2, PI/2, PI/2), // left shoulder
| |
| (0, -PI/2, -PI), // left arm
| |
| (0, 0, 0), // left wrist
| |
| (-PI/2, 0, 0), // left fist
| |
|
| |
| (-PI/2, -PI/2, PI/2), // right shoulder
| |
| (0, PI/2, -PI), // right arm
| |
| (0, 0, 0), // right wrist
| |
| (PI/2, 0, 0) // right fist
| |
| </pre>
| |
| </code>
| |
|
| |
|
| {{OBD_File_Footer | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character}} | | {{OBD_File_Footer | type=TRCM | prev=TRBS | next=TRGA | name=Totoro Quaternion Body | family=Character}} |