Regarding actor components in Delta3D:
The GMComponents are not at the actor level, but even higher, they are to be 
used for stuff like network adapters, device interfaces and other "global" 
stuff. If you check out Delta3D from trunk you can take a look at 
inc/dtGame/actorcomponentbase.h which basically implements the stuff from the 
cowboy programer article. Also, components can send and receive messages. 
In Delta3D, OSG nodes are wrapped in actors. Do you think the userdata property 
is a good place to store stuff like this? Maybe you should add a companion 
object for each of your osg nodes that holds extra game-related functionality 
like a unique id.


Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16191#16191





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to