Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.3.0f3
2020.1
Issue ID
1220767
Regression
No
Collison fails when moving at a raised Terrain
Steps to reproduce:
1. Open QA-supplied project ("TerrainCollision.zip")
2. Open and play Scene ("Main")
3. Go forward (W) until you hit raised terrain
Expected: the player goes up the terrain
Actual: the player goes straight trough
Reproduced in: 2018.4.18f1, 2019.2.21f1, 2019.3.3f1, 2020.1.0a25
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
In this case the body is actually teleported forward ignoring the obstacles, eventually pushing the body inside of the terrain. Terrain is a thin mesh actually, it doesn't have volume, and PhysX treats collisions with it pretty much like collisions with the mesh. A way forward in this case is to run a query like CapsuleCast to figure if the position you're teleporting to is a valid one actually.