OgreNewt is it ok to use more then 1 CollsionTree

Ross

16-08-2008 19:41:22

Hi I’m using ogreNewt and dotscene exporting from 3ds max
no problem there I will be loading up the scene file with extra code in it when it reaches my map mesh.
The question is on loading a map with a CollsionTree if i add a fountain or some object in the map that is static just like the map is it ok to use more then one CollsionTree for that object on loading or should I load it as a ConvexHull with a mass of Zero else should I just make it part of the map.

I’m talking about static non moving objects Is it ok to use more then one CollsionTree on one level or not

This is only because if I want to make different maps in 3ds max with same architecture bits and pieces I can just add them in to the next map ?

Will this make any difference in performance?
Is this ok to use more then one tree

I’ open to all views from all people if you have any comments
Or solutions that you use at the moment please post here
Thanks

One last thing or request can ther some one sort out a code Snippits thread for OgreNewt i see a lot of pepole requsting help on things that are solved

walaber

17-08-2008 16:47:36

multiple CollisionTree objects is no problem.

I don't know which is more efficient, but either way Newton will have no problem with it.

Ross

17-08-2008 20:56:47

Yeah I’m using multiple trees at the moment its seem to work very well
I don’t see any difference but I guess convex hull would be a bit faster
as it only take the outline of object but trees seem to work fine for what I need right now Thanks for replay .