btHeightfieldTerrainShape negative values bug

yamashi2
Posts: 8
Joined: Sun Sep 06, 2009 2:33 pm

btHeightfieldTerrainShape negative values bug

Post by yamashi2 »

Hello !

I am trying to use btHeightfieldTerrainShape but I am having an issue whenever I set a negative value !
If I use a positive value it works fine my physic mesh is the same as my graphic mesh but when I set a negative value, it acts like if there was no terrain (where the values are negative)...
EDIT : Solved first problem I had to use the constructor where you can set the min height and max height ! Second problem still not solved though !
Also another question, after my RigidBodies collide with the terrain and don't move anymore they don't seem to move if I edit the terrain's data (for example if I bring down the terrain the bodies won't move)...

Could anybody help me with that ?

Thanks !