I've placed in my 3d stage some objects.
When mouse is over them, they must be highlighted.
I've tried to create code but there are problems.
I'hve used the code of the collision tutorial as point of beginning.
There is only one problem: selectedSceneNode pointer is always the node of the stage but the triangle selected is of the object!
I've made some mistake?
--------------------------------------------------------------------------------
No mistakes: I've used better the collision:
1) added id to every node.
2) added parent
3) get element collided with the idBitMask specified!
It works fine! Thank's at all
Targeting an object (SOLVED)
Targeting an object (SOLVED)
Last edited by r3i on Wed Oct 19, 2005 1:45 pm, edited 1 time in total.
"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)