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
Multiple Collision Doesn't work properly ( SOLVED )
Multiple Collision Doesn't work properly ( SOLVED )
"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)