Page 1 of 1

Need advice for adding CharacterController to my project

Posted: Thu Oct 10, 2013 5:11 pm
by Tengato
Hi,
I've been able to implement simple physics features in my XNA project thanks to BEPU, and now I'm ready to add more robust character control to my game. After studying the demo code I think the best way for me to do this is to use the CharacterController class and its dependencies. However, the demo source that I downloaded appears to be a later version than 1.2 (the latest release build of BEPU) and the newer demo code won't build against it. Some of the options I have are:
  • Use a build of the latest source instead of 1.2 (cons = I want to use the stable, supported build)
  • Find the 1.2 version of the demo source (cons = I couldn't see how to get this short of installing Mercurial)
  • Reference the classes I need from the 1.2 demo exe assembly (cons = Bad practice to use exes as libraries, and I don't need all of the demo code)
Any suggestions? Thanks!

Re: Need advice for adding CharacterController to my project

Posted: Thu Oct 10, 2013 6:26 pm
by Norbo
Use a build of the latest source instead of 1.2 (cons = I want to use the stable, supported build)
I would recommend using the latest source. Oddly enough, due to the length of my procrastination in releasing a proper 'stable' v1.3.0 and the number of bug fixes and improvements in the latest source, the 'development' build of v1.3.0 will give you a much more solid experience than the 'stable' v1.2.0. I really need to do something about that.

Re: Need advice for adding CharacterController to my project

Posted: Fri Oct 11, 2013 11:19 pm
by Tengato
Thanks Norbo! I had to adjust to the new math types, but it wasn't too bad. Plus it was really straightforward to add the CharacterController to the simulation and get my player moving around and bumping into stuff... :D