Search Issue Tracker
By Design
By Design in 2023.1.X
Votes
25
Found in
2021.3.11f1
2022.3.15f1
2023.1.0a10
Issue ID
UUM-15831
Regression
Yes
Physics.ComputePenetration returns False when two colliders overlap
Steps to reproduce:
1. Open the user’s project
2. Enter Play mode
3. Observe the Scene view
4. Move the Sphere into the Plane and further
Expected result: The Sphere is red while it touches the Plane
Actual result: The Sphere becomes green again while still touching the Plane
Reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.18f1, 2022.2.0b8, 2023.1.0a10
Reproduced on: macOS Monterey 12.5.1 (Intel)
Comments (1)
-
Santa
Mar 18, 2024 14:26
Seems like this is ‘by design’ in NVidia PhysX:
https://forum.unity.com/threads/how-to-deal-with-computepenetration-beyond-50-penetration.540833/
These functions only compute an approximate depenetration vector, and work best when the amount of overlap between the geometry object and the mesh/heightfield is small. In particular, an intersection with a triangle will be ignored when the object's center is behind the triangle, and if this holds for all intersecting triangles then no overlap is detected, and the functions do not compute an MTD vector.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Project Browser Icons use the wrong Theme and Users are not shown any indication that process will be deferred when switching Editor Theme in Play Mode
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
- UIElements memory allocations grow when interacting with IMGUI custom Editor window
- AI Navigation Preferences are not indexed for Search and cannot be found when searching for them in the Preferences Search field
Resolution Note:
It seems this was reopened inadvertently.
Resolution Note (2023.1.X):
It seems this was reopened inadvertently.