Hi,

Stephen's provided a reasonable answer so I won't add any more.
However, could you please use seperate paragraphs for each of your
questions - I find it next to impossible to scan read emails all
placed on a single dense block.

If you want others to help you out its best to make you emails as easy
to read as possible.

Cheers
Robert.

On 6/25/06, idontgot aname <[EMAIL PROTECTED]> wrote:
Hello, I'm starting to program a mmorpg game which will use textured quads
for the sprites. my goal is to be able to right click on the sprite and have
a menu come up at the sprites location, i've messed around with the osgpick
example, it identifies the object it found by a name, so im wondering how i
could for example structure it so when the sprite is picked, the sprites
class hit function is called to let it know it got picked, is identifying it
by name the only way? the only thing i can think of is to give each sprite a
unique name and then have all the sprite class objects in an array and
search for which object has that name, then i could call its hit function.
I'd have to worry about all the objects in the scene having a unique name.
is there any other way to do this? Thanks.

 ________________________________
Yahoo! Groups gets better. Check out the new email design. Plus there's much
more to come.



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to