Multiple Collision Doesn't work properly ( SOLVED )

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
r3i
Posts: 147
Joined: Wed Jun 29, 2005 10:15 am
Location: Sorrento
Contact:

Multiple Collision Doesn't work properly ( SOLVED )

Post by r3i »

Hi, this is my problem.
After reading topics and all I've finally understood multiple collision.
I've tried to use it for highliting different objects in my scene, but when I try there is only one node highlighted!!!
this is my code... I don't know why but only the world can be selected and not the palette... (cartelli).
-----------------------------------------------------------------------------------
Solved:
1) I've setted differents id so I've used the bitmask parameter when getting the node selected.
But there are many nodes with oct-tree so I've tried to use setParent
2) I've setted the parent of each node.
3) Work!
4) line.end = ( line.start - camera.getTarget() ).normalize() * 5.0f
so I0ve setted the distance: changing the "5.0f" parameter.
5) Works fine: Irrlicht Collision manager isn't so stupid: I think it's very good :D
"We work in the dark, we do what we can, we give what we have, Our doubt is our passion and our passion is our task. The rest: is art of Madness" (H.James)
Post Reply