Terrain from heightmap
Posted: Fri Sep 14, 2012 5:20 am
I'm looking for information on how to setup a bepuphysics terrain from a heightmap. My XNA terrain class creates a hightmap from a .bmp file (as in riemer's tutorials).
It holds a float[,] of heights, and I'm assuming I pass the BEPUphysics.Collidables.Terrain constructor that. What else would I need to create a collision-detectable terrain? What do I use for the AffineTransform?
It holds a float[,] of heights, and I'm assuming I pass the BEPUphysics.Collidables.Terrain constructor that. What else would I need to create a collision-detectable terrain? What do I use for the AffineTransform?