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
Hi - it's not an issue per se - but I was hoping you might help me modify your ray casting example to my particular scenario - I'm moving a camera through a scene that contains an obj I've loaded as a mesh, and I want to detect if the camera has collided with any of the walls of my obj.
If you could shed any light on how to detect collisions with the camera, that'd be great. Thanks so much for making so many examples and sharing them online.
The text was updated successfully, but these errors were encountered:
Hi - it's not an issue per se - but I was hoping you might help me modify your ray casting example to my particular scenario - I'm moving a camera through a scene that contains an obj I've loaded as a mesh, and I want to detect if the camera has collided with any of the walls of my obj.
I've based my code off this threejs example: http://threejs.org/examples/misc_controls_pointerlock.html, and tried to apply your example here: http://stemkoski.github.io/Three.js/Collision-Detection.html - but I can't seem to get a collision.
My example is here
and the relevant javascript is here:
If you could shed any light on how to detect collisions with the camera, that'd be great. Thanks so much for making so many examples and sharing them online.
The text was updated successfully, but these errors were encountered: