What's the different between PhysicsControllerBehavior and PhysicsController?

Dec 4, 2009 at 8:09 AM

After I watched your video,I feel complexed,in the first two video,you use the PhysicsControllerBehavior but another video you use the PhysicsController,is there any differences between them?

Is there any document that introduce the Helper in details,and how to learn the use of all the functions.

 

Coordinator
Dec 4, 2009 at 11:29 AM

Yeah, here is a short history...

The Physics Helper Library was first created for Silverlight 2. In Silverlight 2, Behaviors did not exist yet (they were introduced in Silverlight 3), so at that time the Physics Helper used UserControls to operate. The following videos show this older way of using the Physics Helper:

    CODING4FUN SHOW VIEW
    Brian Peek interviews Andy Beaulieu on the Physics Helper. Note that this demos Version 1, which is based on the User Controls instead of Behaviors.

    MIX09 SHOW OFF! VIEW
    The Physics Helper Library took 1st Place at the 2009 MIX Show Off! Event. This is the winning video.

    LEGACY GETTING STARTED VIEW
    This older Getting Started video uses Version 1, which is based on the User Controls instead of Behaviors.

Then, when Silverlight 3 was released, Behaviors were introduced which are _perfect_ for this sort of thing! So I refactored the code a bit and added Behaviors wrappers for the Physics Helper controls. These videos show the newer way of using the Physics Helper Behaviors:

    VIDEO ON "THE BASICS" VIEW | DOWNLOAD
    This is an intro video on using the Behaviors to apply Physics in Expression Blend.

    VIDEO ON "JOINTS + PROGRAMMING" VIEW | DOWNLOAD
    A more advanced video on using Behaviors to create Joints and accessing objects via code-behind.

    VIDEO ON "FLUID CONTAINER" VIEW | DOWNLOAD
    A short video on using the Fluid Container Behavior to simulate water.