#```cs
1 messages · Page 1 of 1 (latest)
You could consider altering the ground check to be a flat plane (rectangle) instead of a sphere. This way you can extend it horizontally without causing it to increase vertically.
Also always make sure to check the normals of whatever surfaces you detect as "ground" to be appropriately pointing upwards. This is to prevent you from detecting walls as ground and doing wall jumps (unless you want that type of thing)
ah alr, i'm gonna try that
do I change it on the script?
the groundcheck
because the groundCheck is an empty gameobject