Character Controller (Again?)

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
weby
Posts: 6
Joined: Tue Jan 05, 2010 8:30 pm

Character Controller (Again?)

Post by weby »

Hi,
(Excuse me for my English... I'm French :roll: )

I creat a game with Xna 3.1 and BepuPhysics V 0.10.5

Maybe I don't understand something but I want to use the Character Controller. I found the sources code ( here) but it doesn't work well.

When I compile my project I have at the first time :

Code: Select all

'BEPUphysicsDemos.CharacterController.addToSpace (BEPUphysics.Space)': no appropriate method has been found for the substitution
And the same error for "removeFromSpace()"

After I try to comment those lignes and I have other error like (20 errors):

Code: Select all

'BEPUphysics.Entities.Capsule' does not contain a definition for 'localInertiaTensorInverse' and no extension method 'localInertiaTensorInverse' accepting a first argument of type 'BEPUphysics.Entities.Capsule' has been found (a using directive or reference assembly is it missing?)

Code: Select all

'BEPUphysics.Entities.Entity' does not contain a definition for 'isTangible' and no extension method 'isTangible' accepting a first argument of type 'BEPUphysics.Entities.Entity' has been found (a using directive or reference assembly is it missing?)
Maybe I forgot something. Can you help me to use Character Controller?

Thank you :wink:
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Character Controller (Again?)

Post by Norbo »

That version of the character controller was designed for an old version of the engine (v0.7.0). Since then, some systems have changed; you can find the most recent version of the character controller in the BEPUphysicsDemos project source (available on http://www.bepu-games.com/BEPUphysics/downloads.htm).
weby
Posts: 6
Joined: Tue Jan 05, 2010 8:30 pm

Re: Character Controller (Again?)

Post by weby »

Thank you for your help :)
Post Reply