Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0b3
Issue ID
866670
Regression
No
Physics.ComputePenetration returns incorrect results with off-center rotated capsules
How to reproduce:
1. Open attached project
2. Open the scene test.unity
3. Play the scene
4. Set the X rotation of the gameobject TestGroup/TActor to 15 (any number works)
5. In the Game view, move the object using the A key until it collides with the Cube gameobject
- Note the distance between the cube and the TActor gameobject
6. In the Collision/CollisionDetector.cs script, comment out the 2nd line (#define HACK_CENTER)
7. Continue from step 3
- Note that when the TActor collides with the cube, it is slightly further away
- Reproduced in 5.6.0b3 (358ff4ed3952)
Comments (2)
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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
hippocoder
Jul 02, 2017 13:47
Not fixed for me in 2017.1 beta
oscarlosu
Mar 13, 2017 09:59
I have encountered a similar issue in 5.6.0b9, not only with capsule colliders, but also with box colliders when they are not centered on their game object's origin and the game object has rotations and/or scales. Did you find a solution? How was this fixed?