simdevode
21-09-2006 01:28:55
I have a OSM file through which I load all my static models (chairs, walls etc.). So, would I need to attach body to each object or there's an alternative?
simdevode
21-09-2006 01:28:55
syedhs
21-09-2006 05:04:05
simdevode
21-09-2006 05:59:58
OgreOde::Body is only needed for rigid body ie sphere body that get rolled when you hit it. Otherwise, objects like houses which will never move regardless of how you hit them should be represented as static boxes (or static trimeshes if you combine all the non-movable entities into one). Generally, I combine all trees, buildings into one huge trimesh so that the performance is at its best. But it is done with sacrifising probably a few features like the ability to produce different sound when you hit tree, and another different sound when you hit building for example.
tuan kuranes
21-09-2006 10:25:56