how to set "objects" property in aframe raycaster component -
i want use raycaster
component in <a-cursor>
entity intersect cubes.
set objects
property '#box' (my cube's id), cursor still intersects element.
step raycaster source code, , data.objects
''
.
so, wonder if set property in wrong way?
there bug in a-frame dependency components. it's been fixed in dev builds: https://github.com/aframevr/aframe/tree/master/dist#dev-builds , released 0.4.0.
a workaround put raycaster component before cursor:
<a-entity raycaster="..." cursor="..."></a-entity>
Comments
Post a Comment