Ahoy,
Hoping this is a quick fix or push in the right direction -- first off the terrain in the bullet demos seems to be working fine (I'm using the same .a lib files it built). My project has been using btHeightfieldTerrainShape successfully from bullet 2.70->2.73, but when I made the update to 2.76 everything just falls through?
Happens with all my test projects based on my Landscape class, the object wireframe appears in bullet's debug view but any box shapes/meshes/vehicles/etc that I create just fall through as if it's non-existant but still collide with each other or static meshes just fine -- it appears to just be ignoring the height field.
Let me know if you need more info, eager to get 2.76 up and running and this is a bit of a problem as most of my test projects use btHeightfieldTerrainShape
Cheers,
-Charles J.
*fixed* 2.73 -> 2.76 btHeightfieldTerrainShape stops working
-
- Posts: 3
- Joined: Sun Feb 22, 2009 6:59 pm
- Location: Kingston, Ontario
*fixed* 2.73 -> 2.76 btHeightfieldTerrainShape stops working
Last edited by cjcliffe on Mon Mar 08, 2010 5:48 am, edited 1 time in total.
-
- Posts: 3
- Joined: Sun Feb 22, 2009 6:59 pm
- Location: Kingston, Ontario
Re: bullet 2.73 -> 2.76 btHeightfieldTerrainShape - fixed
Found the answer I needed here for those interested:
http://code.google.com/p/bullet/issues/detail?id=181
Just had to add max_height/2 to the y component of my initial transform.
Cheers,
-CJ
http://code.google.com/p/bullet/issues/detail?id=181
Just had to add max_height/2 to the y component of my initial transform.
Cheers,
-CJ