Need advice for adding CharacterController to my project

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Tengato
Posts: 6
Joined: Thu Oct 10, 2013 4:45 pm

Need advice for adding CharacterController to my project

Post 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!
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Need advice for adding CharacterController to my project

Post 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.
Tengato
Posts: 6
Joined: Thu Oct 10, 2013 4:45 pm

Re: Need advice for adding CharacterController to my project

Post 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
Post Reply