Search Issue Tracker

By Design

Votes

1

Found in

2018.3.0a5

2019.2.0a1

2019.3.0a1

2019.3.0b3

2020.1.0a1

Issue ID

1184164

Regression

Yes

Character Controller gets stuck when passing under a Mesh Collider

Physics

-

Reproduction steps:
1. Open the attached project named Case_1184164
2. Open a Scene named "Classic_E01_F01"
3. Enter Play mode
4. Try to pass under the chandelier

Expected result: The player character is able to pass under the chandelier's collider
Actual result: The player character gets stuck under the chandelier's collider

Reproducible with: 2018.3.0a5, 2019.2.10f1, 2019.3.0b7, 2020.1.0a9
Not reproducible with: 2017.4.33f1, 2018.3.0a4

  1. Resolution Note:

    PhysX character controller has this bunny hop logic where it would split the movement into three segments -- up by step offset, towards the goal and then down by step offset: https://github.com/NVIDIAGameWorks/PhysX/blob/ae80dede0546d652040ae6260a810e53e20a06fa/physx/source/physxcharacterkinematic/src/CctCharacterController.cpp#L1640.

    Step offset in this case is 0.3, so clearly the character cannot pass under the chandelier. Tweaking the offset should resolve the issue in this case.

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.