New answers tagged


Solved my problem! I read an approach in XNA 3.0 Game Programming Recipes: A Problem-Solution Approach, and adapted it to my needs. Here's the code if anybody is curious: Matrix4 upTransform = Matrix4.createRotateY(yrot); // find the height at the front, back, left, and right Vector3 frontLeft = upTransform.transform(new Vector3(-SCALE / 2, 0, ...

Top 50 recent answers are included