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.
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
- [Search] Query Builder - uneditable NaN in Transform vectors
- Transform.rotation property is as a Vector4 Quaternion instead of a Vector3 field when using InspectorElement.FillDefaultInspector
- [Search] Query Builder - "Input String was not in a correct format" error when changing query options
- MacOS Xcode project build fails when a package has PrivacyManifest
- [IL2CPP] Crash when closing the Player while an exception is thrown during exception handling
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.