As discussed in viewtopic.php?f=4&t=3734 I'm adding a proposal to reintroduce the concept of controllers. I found it very useful to attach physics properties/behavior to bodies (as buoyancy, non-standard gravity, guidance system, etc.).
Actually I'm implementing them using some wrappers: a b2Body wrapper that stores the list of controllers attached to a body, and a b2World wrapper storing the whole list of controllers. Another wrapper around b2World::Step() execute all controllers before calling the Step() method.
This seems works nicely but, of course, is not directly supported in core.
As there is a similar proposal about joints in viewtopic.php?f=4&t=3970, I think would be useful to understand what feature would be more interesting to Box2D users. Simply to know with which to start.
Actually I'm implementing them using some wrappers: a b2Body wrapper that stores the list of controllers attached to a body, and a b2World wrapper storing the whole list of controllers. Another wrapper around b2World::Step() execute all controllers before calling the Step() method.
This seems works nicely but, of course, is not directly supported in core.
As there is a similar proposal about joints in viewtopic.php?f=4&t=3970, I think would be useful to understand what feature would be more interesting to Box2D users. Simply to know with which to start.