I've spent 2 days now trying to get this collision detection and click on object to work, with some luck but not close to perfect. I want to detect the camera's collision with objects as it moves around the scene (like if it were a shuttle and it would go boom if you ran into a planet or sphere). Any help would be greatly appreciated. FYI, ShipControls are a clone of FlyControls (slightly modified). Example: http://www.benmarshall.me/projects/playground/solar-system/index2.html
1
votes
Do you have a working example we could analyse?
– mrdoob
Sure, benmarshall.me/projects/playground/solar-system/index2.html
– Ben Marshall
What exactly are you trying to have the mouse collide with or click on, it seems that you have some mouse functionality already?
– Cory Gross
Check out the edit, maybe that will help clear it up a little more. And see the comment on the answer below for more details... hope that helps, if not I'll try to be clearer
– Ben Marshall