I wrote a processing sketch that generates hills for a scorched earth clone, like this:
I'm trying to figure out how to make this a physics object in libgdx, but I'm having problems figuring out how to do that.
I thinking about doing this through a
ChainShape composed of a
vector2 array at each point on the slope. I've tried running this on an android device through a
SpriteBatch, but I can't get anything to show up (although that's another problem).
Does anyone know how to make a physics object like this in box2d?