BEPU with Sunburn integration Source Available!

(Note: this is a copy taken from my engine blog, the original can be found HERE

 

The sample project is finished! :) The source download link is available below.

A quick rundown of todays progress. Multi-threading got added (very easy thanks to BEPU) Cleaned up the code to hopefully help you quickly understand one of the possible ways to fix and maintain a relationship between your physics & your visuals. Spacebar will spawn a lot of spheres into the scene and left/right button will shoot sphere(s) from your current location. Leave your Feedback, Questions or just your thoughts in the comments section below ;)
Image:
What's inside?

* One of the possible ways to combine your physics with your visuals.
* Commented lines explaining the code required to setup BEPU in your Sunburn project
* A basic scene (default start kit from Sunburn) with some additional dynamic objects
* Multi-threaded physics
* A ragdoll
* DebugDrawer to visualize boundingboxes
* Actor class that combines Entity & SceneObject

The "Blades" mesh isn't using his own dynamic collision yet. May be something for a future release ;)

Don't hesitate to report any bugs or other suggestions...

Source link HERE. Enjoy!
(Sunburn is required to run the sample) More info on BEPUphysics here.


Posted 05-16-2010 1:20 AM by Tom

Comments

Philippe Da Silva wrote re: BEPU with Sunburn integration Source Available!
on 05-16-2010 9:17 AM

Thank you Tom.

Tom wrote re: BEPU with Sunburn integration Source Available!
on 05-16-2010 11:18 AM

No problem! I hope it will help you out. If some parts require more commenting, just leave a comment ;)

JohnK "bobthecbuilder" wrote re: BEPU with Sunburn integration Source Available!
on 05-16-2010 10:19 PM

Awesome work!  I'll definitely check this out tonight. :)

Nate "Vulture" wrote re: BEPU with Sunburn integration Source Available!
on 06-04-2010 8:10 PM

I just managed to check it out today for the first time.

Very nice stuff!

Tom wrote re: BEPU with Sunburn integration Source Available!
on 06-06-2010 3:36 PM

Thanks, any sample suggestions are welcome ;) I'm currently working on trailer material for our upcoming game (prototype/trailer due this thursday) but afterwards I'll looking into creating additional samples related to Sunburn.

ggblake wrote re: BEPU with Sunburn integration Source Available!
on 06-07-2010 6:04 PM

Have you worked with the new Sunburn Terrain object. I'm having trouble lining it up with a BEPU terrain entity

ggblake wrote re: BEPU with Sunburn integration Source Available!
on 06-07-2010 6:04 PM

Have you worked with the new Sunburn Terrain object. I'm having trouble lining it up with a BEPU terrain entity

ggblake wrote re: BEPU with Sunburn integration Source Available!
on 06-07-2010 6:05 PM

Have you worked with the new Sunburn Terrain object. I'm having trouble lining it up with a BEPU terrain entity

miwaniec wrote re: BEPU with Sunburn integration Source Available!
on 06-17-2010 1:56 PM

I used SunBurn Framework and I got:

Error 1 The type or namespace name 'LightingSystemEditor' could not be found (are you missing a using directive or an assembly reference?)

Tom wrote re: BEPU with Sunburn integration Source Available!
on 06-18-2010 1:44 PM

Hi miwaniec,

This is due to the fact that Sunburn Framework release has no Sunburn Editor (this is limited to Sunburn Engine editions only)

You can remove the LightingSystemEditor in the constructor, this should fix the issue for you.

Meltdown Interactive Media wrote re: BEPU with Sunburn integration Source Available!
on 07-31-2010 5:44 AM

Great sample Tom.

Thanks!

cemalsensivas wrote re: BEPU with Sunburn integration Source Available!
on 12-01-2011 1:11 PM

Would be nice to have 4.0 sample though its great :)



Please login to post comments.