Hello,
I am trying to remake Boris's QueryShape function in the Alchemy Port, but I cannot find the b2TestOverlap function.
It is in the official box2d :
http://code.google.com/p/box2d/source/b ... ollision.h
But not in the AS part of Alchemy :
https://github.com/jesses/wck/tree/mast ... /Collision
It is also in the Manual :
Any ideas on how I could do it ?
Thanks.
I am trying to remake Boris's QueryShape function in the Alchemy Port, but I cannot find the b2TestOverlap function.
It is in the official box2d :
http://code.google.com/p/box2d/source/b ... ollision.h
But not in the AS part of Alchemy :
https://github.com/jesses/wck/tree/mast ... /Collision
It is also in the Manual :
Quote:
4.10 Overlap
You can test two shapes for overlap using this function:
b2Transform xfA = …, xfB = …;
bool overlap = b2TestOverlap(shapeA, indexA, shapeB, indexB, xfA, xfB);
You can test two shapes for overlap using this function:
b2Transform xfA = …, xfB = …;
bool overlap = b2TestOverlap(shapeA, indexA, shapeB, indexB, xfA, xfB);
Any ideas on how I could do it ?
Thanks.