Hello Unity Community,
I have a problem with the Character Controller Component. You can see in the video that the gravity is extrem high for one frame.
At first i thought it is an bug of my code , but i testet other scripts from the internet an they have the same issue. I let a lot Info out of my player and “know” the problem.
- the player jumps(or is in the air) and moves against a wall
- the wall is not too heigh(like in the picture)
- the Contactpoint is in the same height (YPoint) as the “PlayerBottom” + Steppoffset
The proplem happens if the player switches from the Jump into the Fall ( gravity from 0.485 to - 0.235 as an example)
It does not happen if i set “SteppOffset” to zero or set “SlopeLimit” to an high value like 100
I think if the player is moving against the wall and hit the border and thinks that he can move on the platform because of the “SteppOffset”,but than detects the angle of the Edge( what seems kind of buggy) and thinks
“ohh that angle is too high i cant walk” and make this gravity bug
I hope you have enought information an can understand my problem and my english.
Thank you
Video:
Image:
