How do I draw a texture to a MSTerrain object?

Posted by Brad on Game Development See other posts from Game Development or by Brad
Published on 2012-10-10T13:41:37Z Indexed on 2012/10/15 21:50 UTC
Read the original article Hit count: 233

Filed under:
|

I'm using Farseer to make a game in XNA and I can't seem to figure this out.

I've decided to use MSTerrain for making my game's terrain because I wanted destructible terrain and MSTerrain seemed like the best bet. Unfortunately, I'm stumped on how to actually show the terrain. When I generate the terrain it's visible in debug view, but MSTerrain does not have a Draw method, so I'm wondering how it is supposed to be drawn to the screen? Is it worth pursuing?

I'm starting to think that MSTerrain is more trouble than it's worth, is there another better way to do this with bodies?

© Game Development or respective owner

Related posts about XNA

Related posts about farseer-physics-engine