You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<a-entity laser-controls="hand:left">
<!-- adding objects here will attach it to the controller just fine -->
</a-entity>
however...after adding hand-tracking-controls
<a-entity laser-controls="hand:left" hand-tracking-controls="hand:left">
<!-- here the objects no longer show up..neither with controller nor hand-tracking :/ -->
</a-entity>
Fix
This patch will re-attach the children to the wrist.
Normal/Expected behaviour:
however...after adding
hand-tracking-controls
Fix
This patch will re-attach the children to the wrist.
I'm not really sure what the right solution is, as not every hand model might contain a 'wrist' object.
I played with several ideas:
onModelLoaded
of hand-tracking-controls<a-entity hand-tracking-controls="children: 'wrist'">
which iswrist
by default e.g.hand-attach="wrist: #foo; index: #bar
which allows for finer-grained parentingOne remaining question is how to deal with switching between hands/laser-controllers.
Hope this helps!
The text was updated successfully, but these errors were encountered: