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
All spatial query methods now take a new parameter OverlapTestMode in SpatialQueryAabb/SpatialQuerySphere/SpatialQueryObb.
This mode determines the granularity at which overlap tests are performed.
Default mode is OverlapTestMode.PartBoundingBox, which uses old behavior.
The new mode, OverlapTestMode.Primitives tests the volume against actual triangles/points of the mesh parts.
While the new mode is much more accurate when testing against actual model surfaces, the PartBoundingBox mode has its justification when the test should report hits when the test volume is completely inside a closed shape without touching the surface.