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
Example was wrong / outdated. collider-check has to be on the entity with the raycaster or otherwise the component dependency will add another raycaster to the player entity that it's the one that produces the undesired hits (has no objects filter selector)
Just updated the docs. A glitch with the corrected code:
Description: copy/pasting the example from the documentation https://aframe.io/docs/1.4.0/components/raycaster.html#example the console does display a hit.
The event is :
Which seems to return itself as a target.
Changing
objects
to a non present selector e.g.abcdef
gives the same result.The inspector shows that the line and the cube do not intersect.
The text was updated successfully, but these errors were encountered: