UPDATE 2: Updated for Silverlight 2 RTW. It now uses the CompositionTarget.Rendering event (haven’t updated source yet, but it’s really easy
).
UPDATE: Source code now available here.
Here’s a simple soft body physics demo based on Walaber’s excellent JelloPhysics library. It enjoys my trademark boring user interface (umm, so it doesn’t detract from the coolness of the physics):
Click the image above or follow this link (you’ll need Silverlight 2 beta 2). If the platforms are scattered too much, just click the “Move platforms” button.
JelloPhysics is also the engine behind Walaber’s awesome Jellycar game (PC version here).
Source code will be available once I’ve made a few improvements
Enjoy!

10 responses so far ↓
Dan Wahlin // June 24, 2008 at 4:06 pm |
Great stuff Chris….definitely a different twist on physics in Silverlight.
Chris Cavanagh // June 24, 2008 at 8:14 pm |
Thanks Dan
There’s a whole pile of great XNA projects out there just begging for some Silverlight love
Klimzk // June 25, 2008 at 12:47 am |
Very interesting stuff. I’d like it to be shiny 3D so it could be cooler.
Dew Drop - June 25, 2008 | Alvin Ashcraft's Morning Dew // June 25, 2008 at 6:36 am |
[...] Silverlight Soft-Body Physics (Chris Cavanagh) [...]
Michael Washington // June 25, 2008 at 11:03 am |
Let me be the first to say it… Wow!
Walaber // June 25, 2008 at 3:06 pm |
wow, great to see JelloPhysics being used in other projects! nice job!
Silverlight soft-body physics - source code! « Chris Cavanagh’s Blog // July 23, 2008 at 9:37 am |
[...] 23, 2008 · No Comments I finally uploaded the source code for my Silverlight 2 soft-body physics demo! You can get it right [...]
Craig // January 9, 2009 at 7:30 am |
Spamming balloons creates black holes that go out of their way to suck stuff in. I assume this isn’t on purpose but its really cool.
Serdar TEMEL // March 23, 2009 at 9:34 am |
Awesome
More on Moonlight 2.0 Preview 1 « Chris Cavanagh’s Blog // May 6, 2009 at 9:49 pm |
[...] threw a few of my demos at it and it’s great to see soft-body physics running pretty well (it’s a bit slower than Silverlight, but I’m sure they’ll improve that [...]