09-16-2019, 07:13 PM
(This post was last modified: 09-16-2019, 09:34 PM by Yoshimaster96.)
(09-16-2019, 05:35 PM)Demonslayerx8 Wrote:Okay.(09-16-2019, 04:40 PM)Yoshimaster96 Wrote: Can the MaxScript import animations? The Blender plugin doesn't seem to like bone scaling.nope, it only does models only.
The Blender plugin seems to not read the bone scale values properly. This is especially noticeable in moves such as Yoshi's grab hold (see the cheek bones in e00catchwait). This should probably be fixed.
[EDIT]
I think I found the problem (as well as a potentially unintended error):
On line 370 you set the compressed isotropic scaling value like so:
Code:
transform[2][3] = frameValue
Code:
transform[2][0] = frameValue
transform[2][1] = frameValue
transform[2][2] = frameValue
Also, on line 254, you had:
Code:
readDirect(ao, track)
Code:
readDirectData(ao, track)
[EDIT 2]
Never mind, the problem was on line 502. The first argument to
Code:
mathutils.Matrix.Scale
Code:
track.animations[frame][2][3]
However, this doesn't seem to work completely. I'm gonna look more into it and see what I can do.