Friday, March 7, 2008

XNA WinForms Physics Editor Tool

Recently I put together a WinForms XNA Physics Editor for a project I was working on.

Not all the buttons work yet... and there are bugs all over, the animation section doesn't work at all, its currently a work in progress. If there is anything you really want fixed or changed, drop a comment. Let me know if its of use to you.

The tool can be used to test your Physics ideas as it allows you to experiment quickly with Joints and Springs.



Included is a sample jeep file to load (As seen above).

You can download it from here.

If you hit F11 it hides the physics helpers.
To create an new object just Right Click and select the option.

The editor also builds your images into xnb files for you.

Note!
The Custom objects are a bit dodge, use the mouse to place vertices down, and use SPACEBAR to complete the object. It may take a few seconds once SPACEBAR is pressed before the editor completes the building process, the Custom objects is still buggy, but does work.
The "Multi-Part Object" button is buggy, so dont use it.

The following is fully functional:
- Revolute Joint
- Fixed Revolute Joint
- Angle Joint
- Angle Limit Joint
- Fixed Angle Joint
- Fixed Angle Limit Joint
- Angle Spring
- Linear Spring
- Fixed Angle Spring
- Fixed Linear Spring

6 comments:

Zygote said...

Nice Work :) This tool looks to be very useful indeed.

Thanks,
Ziggy
Ziggyware XNA News and Tutorials

Anonymous said...

Wow! nice!

Владимир said...

Thank you, Editor is awesome!

Russian Ziggyware: Xna News and Articles on Russian

Ultrahead said...

Keep up this great work!

Anonymous said...

Great!!, thanks for sharing

Anonymous said...

Hi,

very interesting work.
Please, can you share the source code?

Kenshin