 |
|
 |
|
Location: Blogs Andy's Blog |
|
| Posted by: host |
12/15/2008 7:17 PM |
Today a new version of the Physics Helper library was released to CodePlex. This version adds a Camera Controller class and a couple of new demos: Camera with Rag Doll and Camera with Truck
Overview
The Physics Helper for Blend and Silverlight contains several user controls which allow you to draw objects in Expression Blend 2, and have those objects translated directly into Physics objects using the Farseer Physics Engine. You can even add Joints to your creations to create wheels and connect limbs. This can be a great timesaver for creating games, as it is traditionally difficult to line up underlying physics geometries with your Blend artwork.
Intro Video
Watch this short video to see how easy it can be to design physics using Blend 2, Silverlight, and the Physics Helper controls:
LAUNCH VIDEO (please give the video a few moments to display)
Download
Download from Codeplex (includes source and demos below)
Enter Feedback/Discuss on Codeplex
Demos
These demos were created with minimal or no coding using the Physics Helper (click images to launch demos):
What's New in Beta 3
1. A new Camera Controller has been added. Drop the Camera Controller on the same Canvas as your Physics Controller, and set the Body property to the object you want the Camera to follow. You can also optionally set ScrollSpeed and ZoomSpeed.
2. Two new demos have been added to show the Camera Controller in action.
3. Various other API changes and improvements
Known Issues
1. Elements that you want to have translated into Physics objects at run time must exist on the same Canvas as the Physics Controller. In the case of UserControls that are added dynamically, you need to have 1 instance of the UserControl on the Canvas at run time - other instances can be added through code.
2. If you rotate or otherwise transform an object in Blend, the object will lose that rotation when running, and the Boundary determination will be incorrect.
3. This version does not work with Farseer Physics 2.0. I found that Farseer 2.0 has more tunneling issues (objects passing through each other and getting "stuck") when used with the Physics Helper, so I am sticking with Farseer 1.x for now. You can easily enough update the project to Farseer 2.0 if you need to (add a reference to the new Farseer assembly, and Resolve any namespace changes). |
|
| Permalink |
Trackback |
Comments (8)
Add Comment
|
Re: Physics Helper Beta 3
|
By Anonymous on
12/15/2008 10:31 PM
|
As always, good stuff, Andy.
Sorry to hear about Farseeer 2 not working for you. I wish I had more time to dig into the issue...
Also wish I had more time to play with the physics helper!
|
|
|
Re: Physics Helper Beta 3
|
By Anonymous on
12/16/2008 6:48 AM
|
Thanks! I have a feeling the issue with Farseer 2.0 is a combination of things happening in FS2 and the PhysicsHelper. I haven't had a ton of free time lately to figure it out, but I'll get back to it! -Andy
|
|
|
Re: Physics Helper Beta 3
|
By Anonymous on
12/16/2008 1:32 PM
|
|
This is fantastic stuff. Thanks for doing all the heavy lifting for us!
|
|
|
#.think.in infoDose #12 (15th Dec - 19th Dec)
|
By TrackBack on
12/21/2008 5:48 PM
|
#.think.in infoDose #12 (15th Dec - 19th Dec) # #.think.in
|
|
|
#.think.in infoDose #12 (15th Dec - 19th Dec)
|
By TrackBack on
1/2/2009 4:01 PM
|
#.think.in infoDose #12 (15th Dec - 19th Dec) # #.think.in
|
|
|
Re: Physics Helper Beta 3
|
By Anonymous on
1/30/2009 1:20 PM
|
(please give the video a few moments to display)
Andy please take care for this video - it simply just doesnt work, and if you aks me it's crucial for understanding your Physics Helper (I saw it once).
Thank you and of course keep up the good work :)
|
|
|
Re: Physics Helper Beta 3
|
By Anonymous on
2/4/2009 9:44 AM
|
The video seems ok right now. I know that Silverlight Streaming has had some down time in the past weeks. -Andy
|
|
|
Re: Physics Helper Beta 3
|
By Anonymous on
4/7/2009 4:21 AM
|
Nice work dude, do you have a version that runs on WPF ??
|
|
|
|
 |
|
 |
|
|