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.
Gladius_Coldhead
Posts: 56 Joined: Thu Oct 12, 2006 5:15 am
Post
by Gladius_Coldhead » Tue Nov 28, 2006 4:25 am
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 » Tue Nov 28, 2006 6:15 am
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 » Tue Nov 28, 2006 10:39 am
If so just check out the methods in ISceneCollisionManager in the API, it'll have all the functions you need in there.
Gladius_Coldhead
Posts: 56 Joined: Thu Oct 12, 2006 5:15 am
Post
by Gladius_Coldhead » Wed Nov 29, 2006 4:46 am
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 » Wed Nov 29, 2006 10:49 am
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 » Wed Nov 29, 2006 2:48 pm
CodeDog
Posts: 106 Joined: Sat Oct 07, 2006 8:00 pm
Location: CA. USA
Contact:
Post
by CodeDog » Wed Nov 29, 2006 2:49 pm
double post delete this one