Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0p4
Issue ID
1021973
Regression
No
Physics.ComputePenetration behaves incorrectly when a Terrain has a non-zero rotation
Steps to reproduce:
1. Open user-supplied project ("Compute Penetration.zip")
2. Open Scene "main" and play it
3. Move the green Sphere down into the terrain. Observe the Console
4. Exit Play mode, rotate the terrain, enter Play mode again
5. Move the green Sphere down into the rotated terrain. Observe the Console
Expected: the console throws "Penetrating" message as in step 3
Actual: the console no longers throws "Penetrating" message.
Reproduced in: 2017.1.3p3, 2017.2.2p2, 2017.3.2f1, 2017.4.1f1, 2018.1.0b13, 2018.2.0a7
Note:
If the terrain is rotated only on Y-axis and only for <=54 degrees, the message still appears.
If the terrain is rotated only on X-axis and only for <=2 degrees, the message still appears.
If the terrain is rotated only on Z-axis the message appears higher up the more you rotate.
(this could mean an issue with the Terrain Collider, but it's hard to say since there's no way to see the Collider's gizmos)
If all axis are rotated on <= 11 degrees, the message still appears
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
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- Addressables Profiles and Analyze windows no minimum window size
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (2018.3.X):
The current version of terrain does not support rotation; the fact that you can rotate it anyways is bad, and the mismatch with collision worse, but the bug is easy to work around. The best solution though is to make terrain support rotation, which is our plan for the new terrain system we are working on. So we are focusing our efforts on that, and closing this bug.