Hello all, I am trying to synchronize animations between multiple Spatial(s) that have have identical skeletons and animations (the bones and the transformations associated with them during animation, as well as the naming of the transformations, as well as the name of the bones)
My current thought process is to create two animation channels and manually synchronize their animations, although I am hoping there may be a way to attach one Spatial’s Skeleton to the other’s AnimationControl so that I am able to animate all of the (identical) children Skeletons simultaneously.
What are your thoughts on how to approach this?
Maybe something to keep in mind: I need to be able to swap Spatials to be animated (they will all have all identical Skeletons and Animations) .
After reading through the forums I saw this post:
This looks useful but I’m not sure how I’d make use of it. It seems that Momoko is saying that you can create a Node, extract the AnimationControl from a spatial and assign it to that Node, then attach the Spatials and they will be synchronized? I think I am probably not understanding this correctly, can someone explain what they’re saying in a different way potentially? Thanks all.
I believe the cleanest solution would be to attach all the models to a single Node with a single AnimControl and a single SkeletonControl, then delete the per-model controls. Perhaps that’s what Momoko was suggesting.
@sgold, If I delete the per-model controls then the spatials will lose their vertex weights I believe and not deform correctly with the animation but instead just follow the transformation of the node they are assigned to.
This is how the model’s mesh should be transformed during an animation:
This is how the mesh is transformed during the same animation but after deleting it’s original SkeletonControl and AnimControl and adding it to the other model’s Node that should have identical Controls as the initial mesh
I think I’ll just stick with keeping the Controls separate and unmodified, and manually manage the animations if they need to be separate. Thanks, as usual, for all of the information everyone; I really appreciate the help.