I'm trying to get a reference to an extended
BranchGroup class, "Entity", after a canvaspick.
I can get the scenegraphpath to the Shape3D, and
I'm sure from there I can get the node of the branchgroup, but what I need
is a reference to my Entity class.
I want to avoid iterating through the entire list
of "Entity" objects (which are created dynamically) for obvious performance
reasons, so if anyone has a clue...
I've seen a few mentions of "UserData". I'm
not familiar with that property, but can I store a reference to my Entity object
there?
Scott
Virtopia 2 3D Project
|