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.
RT @francisbourre: 3D and physics with Papervision 3D and Box2D | http://tinyurl.com/8kt5a8
really cool Retweeting @francisbourre: 3D and physics with Papervision 3D and Box2D | http://tinyurl.com/8kt5a8
Very nice! :D RT @francisbourre: 3D and physics with Papervision 3D and Box2D | http://tinyurl.com/8kt5a8
Wow. Nice! Would love to see the code for this.
If some people are interested, I will release source code maybe later this month, after i fix everything.
It is cooool, I’m one of those people.
at least, waiting for the sources, could you please post the tuts you used to create this reflexion effect :) ?
Thanks !
@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
i 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
Excellent, as usual, over years now :)
it shows me error on the page. Can you check?
nice
Hi 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
[...] BlazeDS and Hibernate , Glidias’ thoughts on best practices for a Gaia and PureMVC hybrid and TweenPix’s Papervision3D and Box2D crayon physics are all definitely worth a [...]
I’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.
Hi, 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.
very cool, but where is the source code example ??