XPlane2Blender icon indicating copy to clipboard operation
XPlane2Blender copied to clipboard

Imp: Turn dynamic animations that turned out to be static into static animations

Open tngreene opened this issue 3 years ago • 1 comments

Suppose you have

ANIM_trans_begin dref1
ANIM_trans_key 0 1 0 0
ANIM_trans_key 0 1 0 0
ANIM_trans_end

This is really a static animation - neither dataref values nor locations actually move. This is better expressed as ANIM_trans 1 0 0 1 0 0.

Here we'd need to undo our ANIM_stack by 1, and change the bake matrix

  • [ ] Unit test
  • [ ] Code (Look under ANIM_rotate/trans_end) for where the change needs to be

tngreene avatar Mar 24 '21 02:03 tngreene

This is probably pretty rare, but, with out it you could get an unnecessary empty. The exporter will adjust the VT table for you as part of baking instead of complaining. Hence the priority low

tngreene avatar Mar 24 '21 02:03 tngreene