Hi all,
Is there currently a way to implement a dynamic heightmap in Bullet - i.e. one where any vertices can be altered at runtime?
Looking at the btHeightfieldTerrainShape doxygen there doesn't appear to be a method to do this..?
cheers,
Martin
Dynamic heightmap
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Dynamic heightmap
There is an animation of the height in the TerrainDemo, based on btHeightfieldTerrainShape.
See Bullet/Demos/TerrainDemo
Alternatively, you can use the btBvhTriangleMeshShape and animate the vertices (this is a generic concave triangle soup)
See Demos/ConcaveDemo
Thanks,
Erwin
See Bullet/Demos/TerrainDemo
Alternatively, you can use the btBvhTriangleMeshShape and animate the vertices (this is a generic concave triangle soup)
See Demos/ConcaveDemo
Thanks,
Erwin
-
MGB
- Posts: 12
- Joined: Wed Aug 24, 2005 8:54 pm
- Location: uk
Re: Dynamic heightmap
Ah sorry - time I looked at the demos! 