After playing with Crayon Physics Deluxe, I feel interested to check what sort of physics simulation I could build with Flash Player and some ActionScript programming. I found Box2D for ActionScript 3.0. That’s an open source port of a great physics library written in C++. I decided to mix it with a 3D engine for visual rendering. I choosed to play this time with Papervision3D.
So, I explored some cool tutorials on pv3d.org and I built my first experiment.
To try it, just use your mouse and draw some 3D objects on screen.
Click from left to right to draw cubes or from right to left to draw spheres. Last but not least, you can drag any 3D object on screen if you want.
Maybe I’ll be back with a gameplay later this week if all is going well as I make some changes and optimizations.
[kml_flashembed movie="http://www.tweenpix.net/files/Box2DPV3D.swf" width="600" height="700"/]
Wow. Nice! Would love to see the code for this.
Posted by ian | 9 janvier 2009, 5 h 26 minIf some people are interested, I will release source code maybe later this month, after i fix everything.
Posted by Francis Bourre | 9 janvier 2009, 12 h 27 minIt is cooool, I’m one of those people.
Posted by DaveCon | 20 janvier 2009, 16 h 06 minat least, waiting for the sources, could you please post the tuts you used to create this reflexion effect
?
Thanks !
Posted by ynk | 21 janvier 2009, 14 h 14 min@ynk Reflection effect is really easy to render, that’s just because it’s built-in pv3D. You have to extend ReflectionView to get it.
Check Seb Lee-Delisle’s full explanations: http://www.sebleedelisle.com/?p=196
Posted by Francis Bourre | 23 janvier 2009, 12 h 27 mini try to build a similar example but i have major problems to get it working when i have a plane with bitmapmaterial as background. The stage listeners is use seem not to work anymore. How you create the objects? Do you use stage listeners?
thanks
Posted by Malte | 23 janvier 2009, 15 h 14 minExcellent, as usual, over years now
Posted by Guillaume Guine | 29 janvier 2009, 13 h 13 minit shows me error on the page. Can you check?
Posted by 3D modeler | 3 mars 2009, 15 h 46 minnice
Posted by ozgur uksal | 30 mars 2009, 21 h 40 minHi There
Have you seen Phun?
http://phunland.com/phunbox/?os=Win32&version=v5.28&language=English
or the best is OE Cake 1.1.2b
this was a free demo but has been
taken down now and will become
Physicafe.
However if you could mix MS Paint with, Phun, OE Cake, Box2D around
Papervision what a product that would be it would be a game in itself and a fantatic product development innovation tool in a brainstorming enviroment with Johnny Lee’s whiteboard.
Who could do that?
Marc
Posted by Marc C | 29 avril 2009, 10 h 04 minI’d love to see the source for this, the few examples I can find for combining pv3d and box2d all seem to use outdated versions of both projects. Please and thank you.
Posted by alan craigie | 13 septembre 2009, 20 h 22 minHi, I would be pleased if you could send me the sources of this small application, for the same reasons as alan; it is a nightmare to find some basic and interesting examples as yours. Thanks a lot.
Posted by Hadrien | 14 janvier 2010, 5 h 08 min