In a .dll?

I altered the PositionBody function to this, and tried it again but it still falls straight through the box 😢 :
Code:
DLLCMDC void PositionBody(int BodyID, float x, float y)
{
   b2Vec2 NewPos(x,y);
   float ang = GetBodyPtr(BodyID)->GetRotation();
   GetBodyPtr(BodyID)->SetOriginPosition(NewPos, ang);
}
OK, I just tried it with a box rather than a circle, and it worked properly! (No bounce, but I assumed that was because I hadn't set the restitution yet)
I don't know why this would happen, the restitution examples in the testbed work, and they do almost the exact same thing...

edit:
Just found out the restitution example uses octagons rather than circles, so I think it's a bug with the version of engine that I have.
Are you using the latest SVN code? There was a problem with the circle-vs-poly code. I doubt this would be the problem, but it's worth checking.
With the latest version, the circle->box collision works perfectly 😀
There are no bugs that I have found with the newest version 🤓

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