when i run it as is and click the button nothing happens. But if I change the loop flag to true in the glb import and i click the button the animation starts over from the beginning and plays through. this is what i would expect to happen, but the animation then keeps looping. Why does this not work with the flag set to false?
LoadGlb.prototype.initialize = function() {
var self = this;
utils.loadGlbContainerFromAsset(this.glbAsset, null, this.glbAsset.name, function (err, asset) {
var renderRootEntity = asset.resource.instantiateRenderEntity();
self.entity.addChild(renderRootEntity);
if(this.animationName === "Wheels"){
var animationAsset = asset.resource.animations[0];
this.entity.anim.assignAnimation("WheelsMove", animationAsset.resource,1, false);
}
}.bind(this));
};