Page 1 of 1

Multiple Collision Doesn't work properly ( SOLVED )

Posted: Mon Oct 10, 2005 11:18 am
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