You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one targets rotation. But the node in question, "node": 1, looks like this:
{
"mesh" : 0,
"name" : "Cube"
},
What's missing from Node 1? There's no rotation specified in that node.
Cesium is currently disregarding the animations in this model, and the correct behavior only appears if I add "rotation" : [ 0.0, 0.0, 0.0, 1.0 ] to the node in question. But I don't think anything in the glTF spec disallows applying an animation to a default value. So, I think this should be supported (but I can check in with the working group if there's any question).
To reproduce this problem, grab a copy of AnimatedTriangle.gltf and delete line 11 where the node is given a default rotation of the identity quaternion. (Also remove the comma on line 10 so that the JSON remains valid). The resulting model works fine in Babylon and ThreeJS, but does not animate in Cesium.
The text was updated successfully, but these errors were encountered:
I have a sample model, that came from the Khronos Blender exporter, that has an animation like this:
This one targets
rotation
. But the node in question,"node": 1
, looks like this:What's missing from Node 1? There's no
rotation
specified in that node.Cesium is currently disregarding the animations in this model, and the correct behavior only appears if I add
"rotation" : [ 0.0, 0.0, 0.0, 1.0 ]
to the node in question. But I don't think anything in the glTF spec disallows applying an animation to a default value. So, I think this should be supported (but I can check in with the working group if there's any question).To reproduce this problem, grab a copy of AnimatedTriangle.gltf and delete line 11 where the node is given a default rotation of the identity quaternion. (Also remove the comma on line 10 so that the JSON remains valid). The resulting model works fine in Babylon and ThreeJS, but does not animate in Cesium.
The text was updated successfully, but these errors were encountered: