I’m trying to export an animation that has tracks that control each axis separately, but I end up with errors when validating my gltf file:
{
“code”: “ANIMATION_SAMPLER_OUTPUT_ACCESSOR_INVALID_FORMAT”,
“message”: “Invalid animation sampler output accessor format ‘{SCALAR, FLOAT}’ for path ‘translation’. Must be one of (‘{VEC3, FLOAT}’).”,
“severity”: 0,
“pointer”: “/animations/0/channels/0/sampler”
},
{
“code”: “ANIMATION_DUPLICATE_TARGETS”,
“message”: “Animation channel has the same target as channel 1.”,
“severity”: 0,
“pointer”: “/animations/0/channels/0/target”
},
Does the gltf format support this? Do I need to convert the tracks to vec3? Will that change the way the animation looks if I do?
Is there a built in method in three for converting these?
also, wondering what the other error means…