Psycrow101 / io_scene_gta_ifp

Import and export GTA 3/VC/SA animations (.ifp) into Blender 3D
16 stars 4 forks source link

Problem when exporting an animation where the character moves from its position #3

Closed MrSopaipilla closed 9 months ago

MrSopaipilla commented 1 year ago

There is a problem when an animation is exported where the character moves from its position, since when you put it in the game the character remains static, but if it plays the animation here is a video that explains it better

https://www.youtube.com/watch?v=iC-3fMpQDBY

Psycrow101 commented 9 months ago

Is the issue still relevant? After importing back into Blender, does this behavior happen again?

MrSopaipilla commented 9 months ago

Hi yes, I really wish you could fix it, when I re-import the animation it doesn't move either, I think it's because the plugin doesn't export the skeleton or Root bone transformations.

Psycrow101 commented 9 months ago

The plugin doesn't really export the armature transformation, but it does export bone keyframes, including the root bone. Can you share the .blend file for more details?

MrSopaipilla commented 9 months ago

Ah I see, but still the Root bone transformation is not exported, only the rotations are exported, that's something I saw, here I leave the .blend file

animation.zip

Psycrow101 commented 9 months ago

It seems the bug was in the incorrect definition of the bone transformation type, which is why only the angles were exported. I fixed this issue in the latest update. Exporting animations should now work fine.

Thanks for feedback