PhysicsExplodeBehavior in WPF

Mar 7, 2010 at 2:48 AM
Edited Mar 7, 2010 at 2:55 AM

  Hello,Andy.There is a PhysicsExplodeBehavior in Silverlight,but I can't find the behavior in WPF.Is there a PhysicsExplodeBehavior in WPF?

Is there a document which introduce how to use the Physics Helper in details and overall?

 

Coordinator
Mar 8, 2010 at 1:19 PM

Hmmm I'm not sure why I didn't carry the Explode Behavior over to WPF... I don't think there is anything in there that WPF won't handle, so it should be an easy port. There were some differences with WPF for the Sound Behavior so I remember I couldn't quickly port that one. Anyway if you want to try porting Explode, you should just need to bring in the PhysicsExplodeBehavior into the PhysicsBehaviors.WPF project, and then create a ucExplode user control that has the explode animation.

As far as documentation, here are the best sources I think:

1. The Videos at http://physicshelper.codeplex.com/

2. The Demos included in the download

3. The documentation for Farseer, as this is the underlying engine in the Helper: http://farseerphysics.codeplex.com/ ... Note that you can get at any of the Farseer Objects in the Physics Helper, see the section "Coding Techniques" at http://physicshelper.codeplex.com/

 

Mar 9, 2010 at 5:44 AM

Thank you for your help.I'll follow your advice.