tlc
28-01-2008 09:06:43
I'm creating a big terrain with static objects (i.e. a house with several objects). I'm using oFusion plugin for loading the osm file (exported from 3DSMax).
As I need to have collision detection with these statics objects in the house, I use TreeCollisionSceneParser in OgreNewt which I need to pass in the parent sceneNode and it will parse through all its child scenenodes. Hence, I need create a SceneNode Hierarchy. How do I do that?
In osm file, the scenenodes of all the objects have been created and loaded for me. So I can retrieve these individual scenenodes by calling mSceneMgr->getSceneNode("ObjectNode1") etc...
Anyone help?
As I need to have collision detection with these statics objects in the house, I use TreeCollisionSceneParser in OgreNewt which I need to pass in the parent sceneNode and it will parse through all its child scenenodes. Hence, I need create a SceneNode Hierarchy. How do I do that?
In osm file, the scenenodes of all the objects have been created and loaded for me. So I can retrieve these individual scenenodes by calling mSceneMgr->getSceneNode("ObjectNode1") etc...
Anyone help?