8,452
edits
Paradox-01 (talk | contribs) m (I'll try to remake the cam oban maker so that it doesn't need Excel.) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 977: | Line 977: | ||
=====New camera animations===== | =====New camera animations===== | ||
{| border=0 cellpadding=0 align=right | |||
| last frame of OBANOutroCam02<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/Mod_Tool/camera_OBAN_examination_zpsaf16d39e.png http://i305.photobucket.com/albums/nn207/unknownfuture/camera_OBAN_examination_tn_zps73db972a.png] | |||
|} | |||
There's already an excel macro available but now I want to build cam anims without excel. | There's already an excel macro available but now I want to build cam anims without excel. | ||
The last frame's rotation of level1_Final file OBANOutroCam02 is: -0.0158410165 0.854542 0.0261086561 -0.518483639. | |||
Those quaternions are sorted in X Y Z -W order, so we've to watch out a bit when setting the input for converting them to euler rotations in degrees. | |||
If a newly created object (in this case a cube) shall serve as camera placeholder then the X output has to be multiplied by -1 and the Y output has to be reduced by -180. | |||
Those changes must repeated again when exporting the object's rotation to xml. | |||
edits