What to do?

Hey guys, I am bored enough to do some more work for your entertainment, but I'm undecided as to what. This forum doesn't do polls, so vote on your favourite (Box2D) feature for me to implement here, at my (new) website. Any feature would be implemented in Flash, and then reverse ported to C++.

The options are:
Buoyancy controller
Weld joint
A game
This site
The wiki
Shape description format
Deferred filtering

And they are explained in further detail on the page.
Awesome, I put my vote in for buoyancy. 🙂

Regarding deferred filtering, it can already be done.
Yeah, that entry is based on your post. My work would be to ensure that it works in all situations (e.g not sure about CCD), and then update the library so you can just return a different value to filter. And decide which of your two proposed methods is better.
I have buoyancy code already that could be integrated into Box2D. It is written for 3D and it should be easy to reduce to 2D.

The code is on this page:

http://www.gphysics.com/downloads
Yes, I'm aware of that, but I was personally more interested in a particle-like method, rather than accurate cutting. Sorry, I know that what you've done is the standard solution, and what people expect when you say buoyancy, and the easiest approach given it is already written, and no doubt more reliable than what I plan, but I'm only offering to do things which are sufficiently interesting to me, rather than necessarily useful or good. Again, sorry. If people don't like that, they should vote for something else.

But I'll still totally rip off the applicable parts of your code, if you don't mind. (I'm not sure I'd be able to sort out the drag formulae on my own).
Quote:
...
The options are:
Buoyancy controller
Weld joint
...
Cool, BorisTheBrave !
I voted for a Weld Joint (b2WeldJoint), just connecting two bodies together,
no translational,nor rotational degree of freedom.
This basic joint type I'm missing in box2d, and I think, this would be useful.
I've been using revolute joints with lower and upper limits set to zero, and they seem to work reasonably well as a substitute. A dedicated weld joint might be more efficient, though.
Yes, the trick with revolute joints works fine. So the advantages of a weld joint are small. It would be more efficient, but barely, and clearer and easier to use. And as I said, in the same project I'd do an XWeldJoint, which would be the same thing, only with an arbitrary XForm thrown in, as this is basically the same amount of work. I might also give a shot at a WeldJoint that covers multiple shapes, instead of just two, for use with things like Katamari knock off. But like the current Gear joint, it wouldn't fit into the API very well.

As you guys are pointing out, none of these suggestions are very innovative, or ground breaking. But they are "nice to have" things, I think.
Erin Catto wrote:
I have buoyancy code already that could be integrated into Box2D. It is written for 3D and it should be easy to reduce to 2D.


You could also check out Motor2's buoyancy solution:
http://lab.polygonal.de/wp-content/swf/motor/motor2_buoyancy.html

I've actually implemented SPH in my engine before porting Box2D. I plan to eventually integrate it in; it's fairly fast and relatively easy.
I voted weld joint because it's the thing I need in the engine right now (or at least a suitable fudge for - I've not had much luck in getting advice, so far 🙁 ), for my game to be able to progress. But longer-term, buoyancy (and, in fact, anything at all that can be done to simulate fluids) would be an amazing addition to the engine.

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