soopercool101 / BrawlCrate

BrawlBox/BrawlTools Fork, Wii File Editor
https://discord.gg/s7c8763
GNU Lesser General Public License v3.0
154 stars 40 forks source link

AnimFormat : Fix keyframes with "In"/"Out" values+tangents #65

Closed SKmaric closed 1 year ago

SKmaric commented 1 year ago

Previously keyframes were being outputted with the same "time" value, effectively overwriting the "In" tangent with the following "Out" tangent when imported into Maya etc. This fix properly assigns in and out tangents to keyframes that need them, and keyframes with unique Out values are placed just slightly later to prevent overwriting of the previous frame.

soopercool101 commented 1 year ago

Further testing results in odd levels of model distortion. Reverted for now.