• entries
    95
  • comments
    273
  • views
    151784


2 Comments


Recommended Comments

Very cool! I've been playing around a bit with BEPU as well, but I haven't done anything that cool yet. I'd be curious to know how you are breaking things apart like that, as well as what you are using to handle your camera (the standard BEPU CharacterController, the simplified CharacterController, or something more homegrown?).

Share this comment


Link to comment
The main environment is just a collection of static boxes that I replace whenever a change is made. I'm using MorphableEntities for the movable objects, so instead of deleting the entity and replacing it with a new one, I can just replace the collision data. I use a home-grown algorithm to find the (hopefully) smallest number of boxes to construct each shape.

For the camera, I'm using the BEPU simple character controller, bu it's very limited. For example, if you're walking on a movable object that has a floor and a wall, and you walk into the wall, it will actually start moving the object, when it shouldn't. I'll have to replace it eventually anyway, in order to implement more parkour elements. :)

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now