Search Issue Tracker
By Design
Votes
7
Found in
2018.1.0f2
Issue ID
1033072
Regression
No
Physics.ComputePenetration does not detect collision when using OverlapCapsule to detect overlaping colliders
To reproduce:
1. Open my attached project (Penetration.zip)
2. Enter Play mode
3. Observe the console
Expected: Physics.ComputePenetration detects collision
Actual: Physics.ComputePenetration does not detect collision
Reproduced in: 2017.2.2p4, 2017.4.2f2, 2018.1.0f2, 2018.2.0b3
Note: issue is is fixed by making the Mesh Collider Convex, however, documentation states:
"One of the colliders has to be BoxCollider, SphereCollider CapsuleCollider or a convex MeshCollider. The other one can be any type.", therefore having capsule collider
as one of the colliders should satisfy the conditions. Documentation page:
https://docs.unity3d.com/ScriptReference/Physics.ComputePenetration.html
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment