You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found that testPolygonPolygon returns true when one polygon is inside another, but testPolygonCircle returns false when a circle is inside a containing polygon. Looks like this is caused by line #840 of SAT.js, which returns false regardless of containment for circle tests, and line #983, which returns true when two polygons do not have a separating axis.
Requesting that the next release unify the definition of collisions to either include or not-include containment cases. Issue is mitigated by inspecting Response payloads, but this is still a confusing API behavior.
The text was updated successfully, but these errors were encountered:
Found that testPolygonPolygon returns true when one polygon is inside another, but testPolygonCircle returns false when a circle is inside a containing polygon. Looks like this is caused by line #840 of SAT.js, which returns false regardless of containment for circle tests, and line #983, which returns true when two polygons do not have a separating axis.
Requesting that the next release unify the definition of collisions to either include or not-include containment cases. Issue is mitigated by inspecting Response payloads, but this is still a confusing API behavior.
The text was updated successfully, but these errors were encountered: