Add play and stop animation actions in runtime interaction system and update scene build to include animation properties
This commit is contained in:
@@ -224,7 +224,9 @@ function buildRuntimeModelInstance(modelInstance: SceneDocument["modelInstances"
|
||||
name: modelInstance.name,
|
||||
position: cloneVec3(modelInstance.position),
|
||||
rotationDegrees: cloneVec3(modelInstance.rotationDegrees),
|
||||
scale: cloneVec3(modelInstance.scale)
|
||||
scale: cloneVec3(modelInstance.scale),
|
||||
animationClipName: modelInstance.animationClipName,
|
||||
animationAutoplay: modelInstance.animationAutoplay
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user