Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Overlapping test for shapes. #21

Closed
GoogleCodeExporter opened this issue Apr 10, 2015 · 2 comments
Closed

[Improvement] Overlapping test for shapes. #21

GoogleCodeExporter opened this issue Apr 10, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Precise overlap tests are possible using the b2Collide* set of functions,
but this is a little unwieldy to use for something so often desired. Could
this be wrapped in a helper function of signature similar to:
bool b2TestOverlap(b2Transform,b2Shape*,b2Transform,b2Shape*);
Perhaps more information than just a boolean should be made available.

This is mainly useful for use in conjunction with b2World::Query, but is
also useful in its own right.

Original issue reported on code.google.com by sadwanm...@gmail.com on 22 Sep 2009 at 7:32

@GoogleCodeExporter
Copy link
Author

I'll add function like this and an example.

Original comment by erinca...@gmail.com on 22 Sep 2009 at 9:01

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Implemented. See PolyShapes for an example.

Original comment by erinca...@gmail.com on 27 Nov 2009 at 10:23

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant