XBAP 3D Physics source

In case you’ve been trying unsuccessfully to get the source code for my demos from CodePlex (their Team Foundation Server experienced some unfortunate operator error) I’ve published the 3D XBAP stuff here.  Note the beachballs now have a nice specular material applied smile_nerd

In my last post I’d forgotten to credit Daniel Lehenbauer for his Sphere3D code (which saved me a lot of effort!).  You can find his original post here.

UPDATE: I’d forgotten to post the “main” part of the source code; d’oh!  You can find it here (source only, or a version with binaries here)..

7 Comments

  1. Great demo!!!
    You forgot to post your part of the code, though. πŸ™‚
    The solution is missing the main code. Could you check the ZIP you’ve posted?

    Thanks. Best regards. πŸ™‚

    Reply

  2. Thanks for the fun demo. Are you using a fixed timestep for Bullet?

    Could you get in touch over email, so we can try to improve the simulation for boxes (get rid of the jiggle/jitter/softness) ?
    Thanks!
    Erwin

    Reply

  3. Erwin – Thanks for the comment! Currently it’s using the millisecond difference between the current and last step. On some machines this makes the animation pretty choppy (rather than just slowing it down). What’s your preference?
    Great idea about improving the box simulation; it’s probably something really simple causing the problem. You can email me at wpf@spamsong.chriscavanagh.com (without the spamsong).

    Reply

  4. That is seriously freaking cool. Thank you so much for posting the code for this, it looks like it’ll make a good quickstart πŸ™‚

    Reply

Leave a comment