SE2Dev / io_anim_seanim

SEAnim Plugin for Blender
MIT License
81 stars 30 forks source link

Weird bone scaling #15

Closed A1steaksa closed 1 year ago

A1steaksa commented 5 years ago

When importing viewmodel animations from MW2 onto viewhands models, I get weird scaling issues. lidd8uw

These issues do not appear on weapon models, only hands and arms. The animation plays fine, but is warped in this way.

Is there a fix for this?

SE2Dev commented 5 years ago

I don't own MW2 - but I'm fairly certain that this is the issue:

This issue is caused by a combination of Blender-CoD being outdated, and the legacy scale constant (which was originally present to ensure compatibility with Blender-CoD), which was removed in io_seanim v0.3.8.

Originally all animations were scaled by down by 2.54 because Wraith internally converted the units to cm whereas Blender-CoD uses inches; this feature was removed in io_seanim v0.3.8 to ensure proper compatibility with other games, but Blender-CoD hasn't been updated yet.

The current solution is to set the model scale to 2.54 when import XMODEL_EXPORT files in Blender-CoD (as seen below).

image

A1steaksa commented 1 year ago

I'm just looking through my open issues for some classic account cleaning and I just years later saw this reply. Thanks for the info! I suspect I'll want this when I get the itch to mess with those models again. Thanks!