Hello,
b2World.as has m_preStepEvent, but I cannot use it as is. Is this an incomplete implementation that I'm seeing, or some strange intended usage?
-Tim Kerchmar
Unintended. I think I got distracted thinking if I needed a 3rd event for when controllers are fired. Will fix shortly.
Also, I finally committed your implementation of polygon decomposition in Contrib/. Thanks again.
Was tempted to convert to b2Vec2, but left it in the end. Might make a wrapper later, we could get a collection of decomposers that map
vector<vector<b2Vec2>> to vector<b2Shape>
In hindsight, I would have converted too. I have found my code to be smaller when standardized around b2Vec2, even though I do sort of dislike in theory the dependency on Box2D.
It's up to you. But I hope you feel less bad about depending on Box2D for a fork that is going to reside in Contrib/