3d collision detection with the mouse.

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
BishiNightBird
Posts: 7
Joined: Tue Mar 07, 2006 10:36 pm

3d collision detection with the mouse.

Post by BishiNightBird »

Ok, I know the tutorials cover doing collision detection based off of what you are looking at, however I need to do that with where the mouse is based off of+the camera position.

Is there an easy way to do collision detection with the mouse without haveing to have the camera follow the mouse?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

This has been covered quite a few times. You can find it in the documentation quite easily, or just search the forums for getSceneNodeFromScreenCoordinatesBB.

Travis
BishiNightBird
Posts: 7
Joined: Tue Mar 07, 2006 10:36 pm

Post by BishiNightBird »

Ok, thanks for the help.
Post Reply