Skip to content

Conversation

@Pluto8195
Copy link

aframe version 0.8.0 broke the component by changing how intersection event is emitted, before on every tick, now on when the array of intersections is updated.

All the logic is more or less the same except instead of listening for an event were having the component do the ticking and checking the raycaster component for its first intersection distance

@darkwave
Copy link

darkwave commented Aug 4, 2018

@Pluto8195 you modified the /dist file instead of the index.js in the root folder.

I tested your changes and they seem to work fine. Thank you for sharing!

I would remove console messages and add a refresh time limit inside tick function for a better performace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants