Search Issue Tracker
Duplicate
Votes
2
Found in
2017.1.0f3
Issue ID
940295
Regression
No
ClosestPoint returns invalid value when collider is off-center and it's parent is scaled
Reproduction steps:
1. Download project "TestContact.zip" and open in Unity
2. Open scene "TestContact"
Actual: "[BROKEN]ScaledParentAndOffsetCollider" object's Gizmo line is not on the collider
Expected: object's Gizmo line should be the closest point on the collider
Reproduced on: 2017.3.0a3; 2017.2.0b6; 2017.1.0p3; 5.6.3f1
Note: this applies to both Collider.ClosestPoint and Physics.ClosestPoint (choose in script "TestContact")
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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
This is a duplicate of issue #865250