• Advertisement
Sign in to follow this  

BEPU Physics Issue / Question

This topic is 1240 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to implement a physics engine into my 2D top-down game and running into a slight issue which I need help with!

 

I am currently testing out the BEPU physics engine in the XNA C# environment. I have the players and NPC's setup as a "Box" on the server side and adding them to the "Space" to run the simulations every step and that all works fine, but once I have collided with about 4-5 "Boxes" the collision just stop, I can pass right through the boxes as if they are not there. The NPC's are stationary for the moment but the player is moved via the ApplyLinearImpulse call, I am not sure if this is the correct method.

 

Has anyone ran into the issue of the collisions just stopping or am I doing something wrong? Anyone have a good example of using a physics engine in a 2d top down type game?

 

Thanks in advance!

 

 

 

 

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement