I was implementing something similar in this thread (I'm using prismatic joints instead)
http://farseerphysics.codeplex.com/discussions/244934
And I was wondering what is the fastest way to find a penetration distance or separation distance between a fixture and a sensor.
The idea is I have a circle fixture, and then I have a larger circle sensor to sense near by fixtures that the circle should have stayed attached to in order to crawl along walls.
I know how to generate the manifold between the sensor and fixture, but apparently manifolds do not contain penetration distance. I saw the b2PositionSolverManifold object, and was wondering which is faster, the distance proxy or the b2PositionSolverManifold. I plan on having lots of objects use this query to find what wall is the closest, and would like it to be as fast as possible.
Thanks.
http://farseerphysics.codeplex.com/discussions/244934
And I was wondering what is the fastest way to find a penetration distance or separation distance between a fixture and a sensor.
The idea is I have a circle fixture, and then I have a larger circle sensor to sense near by fixtures that the circle should have stayed attached to in order to crawl along walls.
I know how to generate the manifold between the sensor and fixture, but apparently manifolds do not contain penetration distance. I saw the b2PositionSolverManifold object, and was wondering which is faster, the distance proxy or the b2PositionSolverManifold. I plan on having lots of objects use this query to find what wall is the closest, and would like it to be as fast as possible.
Thanks.