Search Issue Tracker
Fixed
Fixed in 6000.3.0b7, 6000.4.0a4
Votes
0
Found in
6000.3.0a5
6000.4.0a1
Issue ID
UUM-122002
Regression
No
Missing API for Shape vs Shape Intersection
For the new low-level 2D physics that landed in 6000.3.0a5, we included a bunch of geometry vs geometry query methods which allow the calculation of a contact manifold, fully describing the contact details using the "Intersect" method.
Unfortunately we didn't include the shape vs shape query methods:
- {{PhysicsQuery.ShapeAndShape}}
- {{PhysicsShape.Intersect}}
These are missing pieces so without these, it's extremely cumbersome for a user to find an intersection as they have to get the shape geometry from each and then figure out which combination of query methods to use in the PhysicsQuery type.
Today I had a report of this where a user wanted to perform a shape vs shape intersection test and the resultant code I provided as an example is quite verbose.
The addition of these two methods completely solve that by abstracting the shape types away. This should've landed in 6000.3.0a5 but it was an oversight on my part.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment