WCK AS3 2.1 Port (Alchemy) addOns

been thinking, since WCK uses the C++ version of box2d, we could take advantage of some of the C++ addOns or patches.

I'm pretty sure there is a splitter addOn out there.
viewtopic.php?t=1473 (I'm not sure if this is the latest.

Fixed Joint
viewtopic.php?f=8&t=3560
or more directly,
http://jrouwe.nl/fixedjoint/

+ BorrisTheBrave mentioned that Fixed Joint, which i think is "forces on 2 bodies effecting both"
could be converted to "xWeld" (bending the direction of forces applied?) allowing a realistic approach to something like portal.

and if there are other cool (C++) things that could be considered for patching in to WCK, I would love to hear about them.


I have seen some neat liquid demos out there too, i think the one i seen was java though.


this is an attempt to pool some ideas of whats out there in the land of C++ box2d that it would be nice to have access to in flash through the alchemy port, and or wck. and hopefully letting MayoButter know whats "in demand" as well.
You realize splitter would require further work to work with WCK? And that b2WeldJoint is Erin's replacement for FixedJoint.

Still there are some C++ patches you could be taking advantage off. There's some good convex decomposition code, and capsule shape type. But you don't want the alchemy port becoming kitchen sinky just because no one else has the know how to compile the thing.
i did realize my suggestions were from the days of 2.01, and thus likely a bit out-dated and potentially not usable with 2.1.

was not aware "fixed joint" had become part of the core more or less.

MayoButter mentioned he had used the shape decomposer in there already (which is used in wck ovals), and i see several references to "Capsules" in wck demos, even having to do with unique gravity equations. so its possible that capsules are already in there too.


i was hoping that shapes hadn't changed too much from 2.01 to 2.1 and that the splitter thing was a valid suggestion. sounds like the troubles go a bit deeper than that though.

do you happen to know if there is a C++ port of this "cohesive"/"surface tension" liquid demo.
http://www.jbox2d.org/liquid/
*although it seems very questionable that this could run well in flash.

also a while back i seen some work on consistent area blobs. although i think that may have just been a series of distance joints at work.

and would the new b2WeldJoint have the same potential of becoming "xWeld" for portal capabilities?


as for "kitchen sinky"-ness your probably right. I was hoping there was a few really useful features that were c++ only out there that perhaps were overlooked.
I'll add anything that looks workable and useful. Capsule shapes look good. I'm very interested in hearing what others would like compiled in.

Original thread: https://box2d.org/forum/viewtopic.php?t=4908