Physics heightmap generated from TSM makes things choppy

hoelzro

07-09-2009 19:26:35

(repost from the OGRE forums, I was wondering if anyone here has encountered a similar problem)

Hello OGRE users,

I'm using OGRE's TerrainSceneManager plugin for scene management, along with ODE for physics. I generate an ODE heightmap using the TSM terrain's properties (world size 1500x1500, 513x513 vertices), and it works, but when I add a couple entities to the scene (even as few as 10), everything gets choppy from all the physics calculations going on. Does anyone have any suggestions on how to improve performance here?

Thanks,
Rob