8,018
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 51: | Line 51: | ||
:: autostart animation (after an animated object is created | :: autostart animation (after an animated object is created | ||
: ZAxisUp | : ZAxisUp | ||
:: 3DSMax generated animation (has Z axis pointing up) | :: 3DSMax generated animation (has Z axis pointing up), all original door OBANs seem to have this flag | ||
|- | |- | ||
| <InitialTransform> | |valign=top| <InitialTransform> | ||
| matrix4x3 | |valign=top| matrix4x3 | ||
| | | Initial position transform matrix, last 3 values are X, Y, Z position values. X, Y, Z seem to be always 0 (or nearly 0) in door OBAN files. That would make sense because of their global use. | ||
|- | |- | ||
| <BaseTransform> | | <BaseTransform> | ||
Line 61: | Line 61: | ||
| fixed transform matrix | | fixed transform matrix | ||
|- | |- | ||
| <FrameLength> | |valign=top| <FrameLength> | ||
| int16 | |valign=top| int16 | ||
| the value must be equal to the last <Time> value plus 1 because <Time>0</Time> is also a frame; Oni crashes if you use a wrong value for <FrameLength> | | the value must be equal to the last <Time> value plus 1 because <Time>0</Time> is also a frame; Oni crashes if you use a wrong value for <FrameLength> | ||
|- | |- | ||
Line 87: | Line 87: | ||
| <Time> | | <Time> | ||
| int32 | | int32 | ||
| elapsed time in frames, use short | | elapsed time in frames, use short intervals for smooth animations | ||
|} | |} | ||
edits