Search Issue Tracker
Fixed in 5.5.0
Votes
4
Found in
5.1.0f2
Issue ID
699565
Regression
Yes
TerrainCollider doesn't detect collision with CapsuleCollider on time and causes capsule with rigidbody to bounce
Steps to reproduce:
1. Open attached project
2. Open scene "Assets/Test"
3. Double click on "Capsules" game object to focus on it
4. Notice that bellow capsules terrain is rough and uneven.
5. Run scene
6. Notice that capsules fail to detect collision on time and start to bounce (collisionbug.gif)
Note: Collision is only detected when bottom horizontal circle of collider crosses terrain collider (collisionDetected.gif). Decreasing "Default Contact Offset" (0.01 to 0.0001) seems to work for some capsules (defaultContactOffset.gif). If terrain is smooth then this bug doesn't occur.
Comments (3)
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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Zergling103
Dec 01, 2015 19:24
Yeah, adding a sphere in the middle of the capsule that is the same radius works like a charm.
maxxa05
Sep 30, 2015 15:27
Still there in 5.2.1. I hacked a fix by adding a sphere collider identical to the bottom of the sphere.
edcx
Jul 06, 2015 07:26
I also have this kind of problem which started to occur after upgrading from 5.0.1 to 5.1.1. Capsule collider couldn't detect collision with terrain in time and starts to bounce.