diff --git a/sceneview/src/main/java/io/github/sceneview/node/ModelNode.kt b/sceneview/src/main/java/io/github/sceneview/node/ModelNode.kt index 1710d9f6..5b6e7aca 100644 --- a/sceneview/src/main/java/io/github/sceneview/node/ModelNode.kt +++ b/sceneview/src/main/java/io/github/sceneview/node/ModelNode.kt @@ -204,7 +204,7 @@ open class ModelNode( } } if (autoAnimate && animator.animationCount > 0) { - playAnimation(0) + for (i in 0 until animator.animationCount) { playAnimation(i) } } scaleToUnits?.let { scaleToUnitCube(it) } centerOrigin?.let { centerOrigin(it) }