Tuesday 12 January 2010

First BEPU Integration Steps...

Just a small update this time...

Added some BEPU (Physics) functionality. 'StaticMeshActor' used as the static ground mesh in the video. 'DynamicMeshActor' the movable boxes. And of course the vehicle that can be driven around. Currently BEPU is not a priority milestone for the engine, messing around with physics is always fun however :)

The vehicle is a great starting point to demonstrate XML tweaking in a live scenario. All I have to do is convert all hardcoded values (like grip, torque etc.) into variables and add some XML functionality to the VehicleActor class. I hope to have a video about it by the end of the week. For now, I'll leave you with this:

2 comments:

  1. Great demo, could you show your code how you achive this efect?

    ReplyDelete
  2. I don't have that code anymore, the closest I can give you is an integration sample for BEPU with SunBurn http://dl.dropbox.com/u/3322271/BEPUphysics_Sunburn%28v1.0%29.rar (made it in 2010, so the versions are pretty old - it might still help you understand the relationship between the visuals and the physical objects when you browse the code)

    ReplyDelete