Dynamic terrain?

JamesLeighe
Posts: 1
Joined: Sun Jun 05, 2011 9:05 am

Dynamic terrain?

Post by JamesLeighe »

I am developing a game that will feature dynamicly deformable mesh terrain (think minecraft) and I was thinking of trying out Bullet. Would Bullet be able to handle a mesh that has to change quickly during gameplay?

I was thinking of using btBvhTriangleMeshShape but it said it has to process the data and that may be to slow to do constantly...

Thanks!
xexuxjy
Posts: 225
Joined: Wed Jan 07, 2009 11:43 am
Location: London

Re: Dynamic terrain?

Post by xexuxjy »

Not sure how complex your terrain is, but the HeightFieldTerrainShape should work quite well, as should your btBvhTriangleMeshShape , if you have a look at the demos you should see some examples of 'dynamic' terrain.