grizzley90
26-11-2006 01:08:55
How can I load world geometry into ogrenewt using the standard scene manager or bsp scene manager? Is there any easy way of doing it? Or is there a way that works with all scene managers. I know there is a way to do it with plsm2 but I dont use plsm2.
unclepauly
29-11-2006 14:49:54
do you mean using a terrain.cfg file? its a million times easier if your terrain is a mesh. well, that depends on how big your terrian is of course!
i have never got this done myself, and there is no tutorial that i know of to walk you through it. you need to search the forums because i know for certain it has been brought up many times before (i think even i posted a question on how to do it!) and you might be able to piece everything together to get an answer.
i think someone wrote a tool that took a heightmap as input, and output a collision object, its on this forum somewhere.
sorry i cant help you any more - good luck!
grizzley90
30-11-2006 02:01:24
No I mean that ogrenewt takes the existing world geometry and static geometry in the scene manager and adds physics to it... Im trying to add physics to a bsp scene i have and i can only load it with the bsp scene manager. But I also would like it to work with the standard scene manager. I dont know if there is a way but id really like to have one.
ProfesorX
02-12-2006 21:40:11
You can use OgreNewt::CollisionPrimitives::TreeCollisionSceneParser, wich parses a SceneNode and all it's child nodes, and creates a Trecollision. This is good for static geometry.