I have a scene where two leaf bodies have the same name (and they have different parents).
scene/
-- sphere/
-- child
-- box/
-- child
I cannot animate both child bodies at the same time. It seems that only the one that was added to the scene first can be animated.
In the following example, I specify the track name to be scene/box/child.position, but it seems to animate sphere/child instead!
I tried a few variations like /box/child.position (does not animate anything), and box/child.position (also animates the sphere).
If I switch the order in which the nodes are added to the tree (scene.add(box) before scene.add(sphere), then any tracks that reference child will always affect box/child instead of scene/child.
I have a scene where two leaf bodies have the same name (and they have different parents).
I cannot animate both
child
bodies at the same time. It seems that only the one that was added to the scene first can be animated.In the following example, I specify the track
name
to bescene/box/child.position
, but it seems to animatesphere/child
instead!/box/child.position
(does not animate anything), andbox/child.position
(also animates the sphere).scene.add(box)
beforescene.add(sphere)
, then any tracks that referencechild
will always affectbox/child
instead ofscene/child
.