I want to display a hint while player is looking at an object. It would work like this:
Code: Select all
+ In 3d studio I give a name ('test') to an object on the level
+ Then I export the scene to *.my3d
.. and in program..
+ I do collision detection (just like in tutorial with triangle picking)
+ AND somehow I obtain name of object
(+ if (name=="test") { ... })
It's hard to find for me if the CMY3DMeshFileLoader loads this informations, but even if not it should be easy to modify it to do so.
And now, THE QUESTION: is there a not-to-hard to detect that user is looking on a object marked by me ?
Or do I have to add everywhere custom scene node with mesh etc etc ? (i would be happy if i hadn't
Help !
iona