ross-g / io_pdx_mesh

Import/Export files for the Clausewitz game engine
GNU General Public License v3.0
88 stars 11 forks source link

Exporting an animation, and then importing it back compresses the armature #97

Closed nevadaa closed 2 months ago

nevadaa commented 2 months ago

Describe the bug Exporting a .anim file and then importing it back to the exact same model compresses the armature, not scaling it but simply pressing the bones together

To Reproduce Steps to reproduce the behavior:

  1. Make a keyframed animation (regardless whether or not you bake it)
  2. Export it as a .anim with any options
  3. Import the .anim back to the exact same model, or even importing the same mesh that's been exported prior
  4. Skeleton compresses itself

Software (please complete the following information):

Additional context

Screenshots

https://github.com/user-attachments/assets/f7df1e53-76dc-4e28-89cc-0d47fd83a275

ross-g commented 2 months ago

As you self closed this issue, did you figure it out? I can't reproduce any problem with the vanilla content or with building my own skeleton so I assume it might be scene setup related.

nevadaa commented 2 months ago

Hey! Thanks for the fast reply. The problem was to do with transforms in the scene, yeah. Thankfully I've got it sorted.