Simple collision question

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
fabs
Posts: 18
Joined: Sun Jun 25, 2006 1:41 pm

Simple collision question

Post by fabs »

Hello all, I just have a question about irrlicht's collision system. If I want to determine the location (in 3d) of the first face under a mouse click on the screen, is this possible? Also, is it possible to test whether a mouse click falls within a 3d volume (read: axis aligned bounding box)?

Thanks.
kingdutch
Posts: 76
Joined: Tue Sep 02, 2008 7:01 am

Post by kingdutch »

Hey Fab, I don't wish to be rude, but have you used the search function yet? This sounds like a question that's been answered before already.

For the rest I refer you to tutorial 7 (Should be what you're after)
If it's not, then report back here and I'll see how we can help you on :D

Kingdutch
if (msg.getRubbishFactor() > rubbishLimit) { ignorePost(); cout << how it should be done << "\n"; }
fabs
Posts: 18
Joined: Sun Jun 25, 2006 1:41 pm

Post by fabs »

Don't worry, you weren't rude :D

I just found what I was looking for, ISceneCollisionManager::getCollisionPoint. I must be tired or something, i searched for an hour earlier today >.> Thanks kingdutch.
kingdutch
Posts: 76
Joined: Tue Sep 02, 2008 7:01 am

Post by kingdutch »

See? There you go :)

Have fun
if (msg.getRubbishFactor() > rubbishLimit) { ignorePost(); cout << how it should be done << "\n"; }
Post Reply