1) Download the latest source at
http://bepuphysics.codeplex.com/SourceC ... changesets
2) Look in the bepuphysics\BEPUphysicsDemos\BEPUphysicsDemosContent folder for the InstancedEffect.fx. Right click on the content project in your project and click Add Existing Item. Find the InstancedEffect.fx and add it.
3) You can compile the library using the source you downloaded to get the BEPUphysicsDrawer.dll and BEPUphysicsDrawer.xml if you'd like.
Otherwise, if you're using v0.16.1, then you can download the associated pre-compiled BEPUphysicsDemos demo game from codeplex (
http://bepuphysics.codeplex.com/release ... dId=217237).
In that zip, there are a few files. The BEPUphysicsDrawer.dll and BEPUphysicsDrawer.xml are the two files you want. Put them somewhere easily accessible from your project.
4) Right click on the references in your main project. Click Add Reference and add the BEPUphysicsDrawer.dll reference you compiled/found.
Now for the integration:
5) Create a ModelDrawer. This can be either a InstancedModelDrawer or a BruteModelDrawer. The InstancedModelDrawer requires HiDef profile support.
6) For each entity you want to see in the game, add it to the ModelDrawer using its add method.
7) Call the ModelDrawer's update method from your update method, and call its draw method from your draw method.
An example usage can be found in the BEPUphysicsDemos, or in some of the individual documentation projects, like the Internal Multithreading Demo:
http://bepuphysics.codeplex.com/wikipag ... umentation