X-Plane / XPlane2Blender

Scenery & Aircraft export addon for Blender and X-Plane
GNU General Public License v3.0
196 stars 67 forks source link

Imp: Bake dynamic rotations and translations after static transformations #652

Open tngreene opened 3 years ago

tngreene commented 3 years ago

We need to bake dynamic rotations after static rotations

bsupnik commented 3 years ago

How to "bake" a dynamic translation:

Apply the static bake matrix's full transform to each translation key frame point. Set the rotation part of the static translation's data block to the rotation part of the bake matrix Clear the bake matrix

Test cases: static translation, dynamic translation static rotation, dynamic translation static translation, static rotation, dynamic translation static rotation, static translation, dynamic translation