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):

image

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!

About these ads