Open kablouser opened 3 years ago
https://github.com/UnityTechnologies/open-project-1/issues/416 https://github.com/UnityTechnologies/open-project-1/issues/499
I think the issue lies within CharacterController. When calling Move() with a downwards direction it can get stuck if it's close enough to a very vertical wall (but not exactly 90 degrees).
https://user-images.githubusercontent.com/45899999/134820485-1785d77a-bdd5-46ab-9a77-2c9491924fb7.mp4
My solution was to add a small push away from the wall when they are too steep.
https://user-images.githubusercontent.com/45899999/134820496-4efb6131-3be7-444d-b807-1daf0ad9f152.mp4
Verification: replicate steps described in the issues.
Note This is related to my other PR https://github.com/UnityTechnologies/open-project-1/pull/500 This PR solves the issue https://github.com/UnityTechnologies/open-project-1/issues/499 in a different way. But solves the older issue https://github.com/UnityTechnologies/open-project-1/issues/416 which my other PR doesn't do.
https://github.com/UnityTechnologies/open-project-1/issues/416 https://github.com/UnityTechnologies/open-project-1/issues/499
I think the issue lies within CharacterController. When calling Move() with a downwards direction it can get stuck if it's close enough to a very vertical wall (but not exactly 90 degrees).
https://user-images.githubusercontent.com/45899999/134820485-1785d77a-bdd5-46ab-9a77-2c9491924fb7.mp4
My solution was to add a small push away from the wall when they are too steep.
https://user-images.githubusercontent.com/45899999/134820496-4efb6131-3be7-444d-b807-1daf0ad9f152.mp4
Verification: replicate steps described in the issues.
Note This is related to my other PR https://github.com/UnityTechnologies/open-project-1/pull/500 This PR solves the issue https://github.com/UnityTechnologies/open-project-1/issues/499 in a different way. But solves the older issue https://github.com/UnityTechnologies/open-project-1/issues/416 which my other PR doesn't do.