I am trying to animate the stories of a house. It should be possible to animate the house to the first story and after that to the second story. Like this:
The animations look fine in the gltf viewer. When I play the animation to the first story (“Stock 1”), it works perfectly, but when playing the animation to the second story (“Stock2”), the cube does not get animated to the full extend of the story. Calling the animations separately also works. It seems like that the first animation somehow influences the following animation.
This is how I play the animation clips:
this.action = this.mixer.clipAction(clip) this.action.reset() this.action.timeScale = 1 this.action.setLoop(THREE.LoopOnce) this.action.clampWhenFinished = true this.action.play()
The gltf file: house-stories (241.7 KB)
Thank you for your help!