Hi,
So I need to have a Box, located at an arbitrary position, with a given orientation. Unfortunately, it seems that the translation is applied first. I need the rotation applied first. To illustrate the problem:
//Makes a box with center at {sqrt(2),sqrt(2),0}, NOT at {0,1,0}
pos = new Vector3(0,1,0)
orient = Matrix.CreateRotationZ((float)MathHelper.ToRadians(45.0));
body.MoveTo(pos,orient);
Workarounds?
Thanks,
Ian