This project is read-only.

rotating Heightmap

Jan 14, 2013 at 12:35 PM
Edited Jan 14, 2013 at 12:37 PM

Hello,

I am looking at the examples inside JiggleGame and I was wondering, is there any way to apply a yaw pitch roll to the heightmap? 

One thing that I tried is associating the collisionskin with the body inside the HeightmapObject and then rotating that body with the MoveTo function but that doesn't work.

body.MoveTo(shift, Matrix.CreateRotationZ(0.2f));   

body.Immovable = true;           

body.EnableBody();

 

Is there any other way to do this or are we only supposed to work with this horizontally?

 

This library is fantastic!