aframe
aframe copied to clipboard
Fix joints in hand-tracking-controls not having the correct world position
Description: Component hand-tracking-controls with the "dots" modelStyle has not been displaying correctly since A-Frame 1.6.0. This is because "wristObject3D" is introduced, and all child elements of the hand, including jointEl, are reparented to be the children of "wristObject3D" through addChildEntity(). However, setting the correct position of jointEl is handled in updateHandDotsModel(), so it's not necessary to attach them to wristObject3D.
Changes proposed:
- Add a flag to each jointEl to prevent them from reparenting.