I added a fix to get working with mesh operators (includind setmaterial).
Infortunatly skeleton doesn't support mesh transformations, this mean that all operators that transform the mesh pose (Transform, Center, Multiply, etc...) will not works or will deform the skeleton and produce bad anim (use yellow opartors instead), else most of others operators will works.
I tested different animated models with or without clusters, and all seems to works now.
[edit] I modified the animation time (driven by BoneTime) to get a similar behavior as xsi import (time range from 0..1, morehover it really simplify the code and run a bit faster) so use the next script code to run in loop from 0..1 with a time factor of 20 (for example)
- Code: Select all
Bonetime = time * 20%1;