Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a C# game engine and have hit a snag trying to add physics. I'm using XNA for graphics and Jitter for physics. I am trying to split the XNA model into it's meshes, then create a ConvexHull for each mesh. I then attempt to combine those into a CompoundObject, this however isn't working and depending upon the model the meshes are offset by different amounts.

This is the code I'm currently using and it gives me:

enter image description here

Any ideas?

share|improve this question

closed as off-topic by Anko, bummzack, Josh Petrie Jul 7 '14 at 15:53

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about debugging a problem in your project must present a concise selection of code and context so as to allow a reader to diagnose the issue without needing to read all of your code or to engage in extensive back-and-forth dialog. For more information, see this meta thread." – Anko, bummzack, Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

Hey Ben, if you figured this out by now you can add it as answer and accept it. – Byte56 Jun 14 '12 at 14:08