supermedium / moonrider

🌕🏄🏿 Surf the musical road among the stars. Side project built by two people in a few months to demonstrate WebXR.
https://moonrider.xyz
MIT License
570 stars 224 forks source link

Add haptics / particle interaction between controller rays #37

Open chrislatorres opened 5 years ago

chrislatorres commented 5 years ago

It seems intuitively the two controller rays should interact somehow, possibly something like sparks coming off with strong haptics when intersecting.

normancroan commented 5 years ago

This is a feature of Beat Saber I particularly enjoy, would be great here. I may have missed it, but I think the saber should behave similarly when touching a wall and it didn't.

nrgapple commented 5 years ago

This should be easy to implement I can take a look at it

ngokevin commented 5 years ago

We used to have this with sparks if you can dig it back out in weapon-particles. Hopefully, it doesn't affect perf. I just toggled off the raycasting that allowed this.

ngokevin commented 5 years ago

For Quest at least, might not want this for perf. Would add another collision check and particles.