Hi! I’m having an issue exporting a GLB from Maya using the Babylon.js glTF exporter.
I’m using Maya 2022 with the latest version of the Babylon Maya glTF exporter.
I have an animation where several objects need to appear/disappear by changing their Scalefrom 0 to 1 or 1 to 0 over a single frame.
In Maya’s Graph Editor, the Scale X/Y/Z curves are explicitly set to Stepped.
However, after exporting to GLB, the Scale animation is exported as LINEAR instead of STEP. This causes the object to visibly scale/interpolate between the two keys.
I verified this by inspecting the exported GLB directly.
Interestingly, if I manually modify the exported GLB and change the corresponding animation sampler from:
interpolation: LINEAR
to:
interpolation: STEP
the animation works correctly.
So my question is:
Is there an option or setting in the Babylon Maya glTF exporter that forces or preserves STEP interpolation for animation keys?
I’ve already tried:
-Setting Scale X/Y/Z to Stepped in Maya’s Graph Editor.
-Exporting multiple times with the same result.
-Using the latest Babylon exporter.
-Baking the animation.
The important part is that I don’t want the entire animation to be STEP, because some later Scale animation needs to remain smoothly interpolated. I only need the specific Stepped keyframes to remain STEP in the resulting GLB.
Is this currently supported by the Maya exporter? If so, what exact export setting/workflow should I use?
Thanks!