Hi,
I just started using JigLibX a few days ago so sorry if this question has been solved elsewhere, I tried looking through the forums but couldn't see anything.
Basically, I have 2 cuboids, 1 is immovable and 1 falls onto it (much like the quick start tutorial but just with cuboids rather than cubes) they hit each other and bounce as expected but I really want to make use of the DebugDrawer when the scene gets more complex but it is drawing the cuboids collision boxes in the wrong place, putting the top of the wireframe at the centre of the cuboid to be precise.
I am using the following code from the DebugDrawer tutorial:
//obj is my own object class which uses Body and CollisionSkin from JigLibX.
VertexPositionColor[] vps = obj.GetLocalSkinWireframe();
if (obj.Body.CollisionSkin != null)
{
obj.Body.TransformWireframe(vps);
}
DrawShape(vps);
Also, here is a screenshot:

As you can see the wireframes are half the height down from the actual rendered cuboids than they should be.
I am using the same camera for the scene and DebugDrawer so it's not that.
Anybody have any ideas?
Thanks for your time.