Is it normal for the bounding boxes to resize as you move/jump? For example, when I jump the bounding box increases in size downwards then goes back to normal when it collides with something. It also becomes bigger when I rotate. For example, when I do this:
Code: Select all
Quaternion.CreateFromAxisAngle(Vector3.Up, MathHelper.ToRadians(-45f))]
This will make my model face a different direction but the bounding box will double in size for some reason. Is this supposed to happen?
I draw the build/bounding boxes like this:
https://gist.github.com/anonymous/a9794 ... baaffb6bb8
(I never call that update method there).
I do this at the end of my Player.update:
Code: Select all
worldMatrix = Matrix.CreateScale(this.scale) * ConvertTo.XNAMatrix(body.Box.WorldTransform);
Then to draw:
Another issue I'm having is my models slide too much. I move them by adding or subtracting from the Linear Velocity. Is there a way to just move them without sliding? Any help would be appreciated!