-
Phizix - Box2D Ragdoll Test
I have gotten quite a lot done on Phizix these last days and have almost finished all Actions. So just for fun I converted the ragdoll test from the Box2D testbed.
You can test it here
Some features it shows are Continuous Collision Detection and Joint limits. Press Space to toggle Debug Draw.
-
Re: Phizix - Box2D Ragdoll Test
Wow this is awesome!
I can't wait to get the new Phizix object with Box2D!
So what's the difference between Box2D and Chipmunk?
-
Re: Phizix - Box2D Ragdoll Test
wow nice, looks extremely weird tho.
-
Re: Phizix - Box2D Ragdoll Test
The Walls have 2.0 in elasticity launching anything that hits them at high speed. The balls are moving at around 200m/s -> 6400 px/s.
There are a lot of differences between the engines. I'll make a list of the major differences in functionality/interface later. One of the greatest differences is CCD. Without it the balls would leave the screen instantly due to tunneling through the walls.
-
Re: Phizix - Box2D Ragdoll Test
-
Re: Phizix - Box2D Ragdoll Test
Poor ragdoll man is getting pummeled. XD
Also, no gravity?
-
Re: Phizix - Box2D Ragdoll Test
Due to the high speed of the balls (6400 px/s) the gravity isn't really noticeable...
-
Re: Phizix - Box2D Ragdoll Test
-
Re: Phizix - Box2D Ragdoll Test
Could be great to have another demonstration where we can move the ragdoll with left mouse key and launch a temporary ball with right mouse key (without the elastic walls). :)
Great job Werbad ! :)
-
Re: Phizix - Box2D Ragdoll Test
Well, the mousejoint is actually implemented in the ragdoll demo, but it's kind of hard to affect the ragdoll with all the balls constantly hitting it. I'm currently working on a testbed containing some examples. I'll upload it when it's finished.
Edit:
Finished the testbed, it has 5 tests at the moment.
http://www.mediafire.com/?tm44flbjfh1
Building Blocks: A simple Demo where you can play around with simple blocks.
Joints: A display of all Joint types.
Bullet: A canon to show bullet (CCD) features.
Raycasting: Shows the raycasting features as a beam reflecting off bodies.
Sticky Bodies: Results from playing with the collision callback system.
-
Re: Phizix - Box2D Ragdoll Test
Did anyone notice my edit? Maybe I should have made it a new post instead...
-
Re: Phizix - Box2D Ragdoll Test
Wow, amazing piece of work. :) I'm really looking forward to this. Seems like there really is a lot of cool stuff for professional games.
The example reminds me of the original box2d one.. :P
-
Re: Phizix - Box2D Ragdoll Test
Stop teasing us you... you...! :(
-
Re: Phizix - Box2D Ragdoll Test
This is amazing! :D I can't wait until we can use this extension.
-
Re: Phizix - Box2D Ragdoll Test
-
Re: Phizix - Box2D Ragdoll Test
Just thought I'd mention that I've finished most features and will hopefully be able to release a beta soon. I will probably keep the beta private at first. At the moment the menus are pretty messy due to the huge amount of features the extension has, so the main priority will be to sort out the menu and, of course, finding/fixing bugs.
-
Re: Phizix - Box2D Ragdoll Test
Sounds great. I really hope that you will fix all major issues as fast as possible, and get that menu thing straight. I think I'm speaking for almost all users here! :)
Good luck!
Ah, one question: What does the debug drawing work like? Is it something box2d-native or are you using a csurface? The latter, I think... just curious.
-
Re: Phizix - Box2D Ragdoll Test
The Debug Draw allows you to link an overlay and let Box2D draw stuff in it. Since Phizix isn't a graphical extension this was the easiest solution.
-
Re: Phizix - Box2D Ragdoll Test
WOW ! That's so great ! The raycasting is really impressive and it seems the speed of the physic engine is much faster than Chipmunk (and much more realistic too !) ! I think I'll move my PhysicDraw to this object ! :)
-
Re: Phizix - Box2D Ragdoll Test
PhysicDraw will probably work better in Box2D since it handles mass calculations automatically (or custom, if you really want to). It also seems that Chipmunk didn't calculate Inertia correctly, sometimes causing weird results with rotations.
-
Re: Phizix - Box2D Ragdoll Test
-
Re: Phizix - Box2D Ragdoll Test
I doubt it wouldn't, seriously, adding support for that takes a minute or so (It's just outputting floats, isn't it? ;))
-
Re: Phizix - Box2D Ragdoll Test
The only thing that needs to be changed for HWA is to make it use floats for angles instead. It's been implemented as a checkbox in the object properties. So yes, the object does support HWA.
-
Re: Phizix - Box2D Ragdoll Test
I think, Box2D is in 1000 better, than Chipmunk. Please, upload an extension!
-
Re: Phizix - Box2D Ragdoll Test
very,very,very,very,very,very,very cool !!!!!
Yes upload, i need look the mfa file fast !
Thx Werbad !!!!!!!!!!!!!!!!!!!!
-
Re: Phizix - Box2D Ragdoll Test
Update:
I've now updated the extension to use the latest version of Box2D. This means that the extension now has support for controllers. Controllers are used to easily implement specific behaviors to bodies, Custom Gravity or Buoyancy for example.
I've uploaded a new version of the testbed that shows some of the newer features: Link
I still haven't gotten anywhere on the manual though... Once it is finished I should be able to start a public beta.
-
Re: Phizix - Box2D Ragdoll Test
Wow! That's some impressive work. I especially love the buoyancy example, it's fun to have some stacks floating on water. :P
There are some display errors when I minimize and restore the app, for example, the button face-colored area on the right side isn't displayed
-
Re: Phizix - Box2D Ragdoll Test
Works fine here... Might be an HWA issue.
-
Re: Phizix - Box2D Ragdoll Test
Yeah, I only got it once or twice, not every time.
-
Re: Phizix - Box2D Ragdoll Test
WOW! Thats all amazing! And the gravity conroller thing can make planets!
-
Re: Phizix - Box2D Ragdoll Test
Will objects be able to interact with ordinary background objects set as obstacles and calculate collision based on fine collisions or do I have to make everything active objects?
-
Re: Phizix - Box2D Ragdoll Test
Actually, that's justified question. It is possible to enumerate backdrop objects in an extension. Werbad could at least add support for bounding boxes. But I doubt he will, though.
-
Re: Phizix - Box2D Ragdoll Test
Any news on the development of this?
-
Re: Phizix - Box2D Ragdoll Test
Except what I wrote on the last page, no. I've been busy lately and haven't had any time for anything else than fixing minor bugs.
When I get time I'll start working on the manual and then I'll be able to start a public beta. The plan is that the manual should include not only good explanations what all actions/expressions/conditions/properties do, but also include some basic info and maybe some introductional tutorials and a troubleshooting section with common errors with solutions. Lack of proper documentation was, in my opinion, the worst part about our Chipmunk version, and I'm hoping to fix that for this version.
-
Re: Phizix - Box2D Ragdoll Test
On the gravity controller is it possible to set world gravity to 0 so the big cluster would float like in space and not just fall to the ground?
-
Re: Phizix - Box2D Ragdoll Test
Yes, all the controller does is attract all bodies attached to it. You can freely change the other world settings.
-
Re: Phizix - Box2D Ragdoll Test
impressive work! I can't wait to try it finally.. Chipmunk was good, but this is awsome. When'll comes out?
-
Re: Phizix - Box2D Ragdoll Test
hi, its possible to create softbodys ( Example : Game Gish ) in Phizix - Box2D ?
-
Re: Phizix - Box2D Ragdoll Test
Pretty sure, but if not you could probably combine Box2D with Vectorial Shape and get a similar effect.
-
Re: Phizix - Box2D Ragdoll Test
Yes it is. There's a soft body example in the original Box2D C++ implementation, which uses a lot of small bodies to simulate soft bodies, I think, it's pretty cool.