Collision problem =/

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
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Collision problem =/

Post by Gladius_Coldhead »

Its possible make a collison with the Mouse cursor and with some 3d model?
how i do it?
somebody have some example?
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

I think you need to tell us what you are trying to do.

Sounds like you want to find out what 3d object the mouse is over?
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

If so just check out the methods in ISceneCollisionManager in the API, it'll have all the functions you need in there.
Image Image Image
Gladius_Coldhead
Posts: 56
Joined: Thu Oct 12, 2006 5:15 am

Post by Gladius_Coldhead »

Sounds like you want to find out what 3d object the mouse is over?
yes, im trying make an 'pick up item' system.

somebody have one example?
gabb
Posts: 8
Joined: Tue Aug 08, 2006 8:54 am

Post by gabb »

Take a look what the SceneCollisionManager has to offer you. Read the API for that and afterwards search the forum for it - you'll find alot of code that should give you a quickstart.

Search for GetSceneNodeFromRayBB or GetSceneNodeFromScreenCoordinatesBB
CodeDog
Posts: 106
Joined: Sat Oct 07, 2006 8:00 pm
Location: CA. USA
Contact:

Post by CodeDog »

CodeDog
Posts: 106
Joined: Sat Oct 07, 2006 8:00 pm
Location: CA. USA
Contact:

Post by CodeDog »

double post delete this one
Post Reply