Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.2.10f1

2020.1

Issue ID

1195723

Regression

No

OnTriggerEnter event does not get executed even if Character Controller Collider is intersecting with another Collider

Physics

-

Reproduction steps:
1. Open project in "TriggerEnter.zip"
2. Select both Cube and Capsule in the Hierarchy window so you can see their Colliders
3. Capsule has a Character Controller Component and Cube has a Box Collider which is a Trigger
4. Enter Play Mode and switch to the Scene view
5. Capsule will be moved down using a Script and reset OnTriggerEnter with Cube

Expected results: OnTriggerEnter method will be executed the instant Colliders intersect with each other
Actual results: Character Controller goes around 1/5th its Collider into the Cube Collider before OnTriggerEnter is executed

Reproducible with: 2017.4.34f1, 2018.4.12f1, 2019.2.12f1, 2019.3.0b10, 2020.1.0a13

Notes:
1. Documentation indicates that Objects with Character Controller Component may slightly penetrate each other, due to Skin Width, however, changing it does not influence the results visibly.
2. It does not matter what Trigger Event is called (Stay or Enter)
3. Collider shape does not seem to influence the result (tried default Cube, Sphere)

  1. Resolution Note:

    This is the way PhysX's capsule character controller works inside, there is a slight margin it reserves for the purposes of its inner workings.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.