AFaurholt / BGJ-2020-1

GNU General Public License v3.0
2 stars 0 forks source link

Grounder script #10

Closed iv2b closed 4 years ago

iv2b commented 4 years ago

When moving down a slope, you'll notice the character will be airborne.

One solution is to add a sphere cast at the feet of the controller, if it touches a collider then you check its angle. If it's below a treshold then the character is pulled down, otherwise nothing happens.

Sounds simple in theory, good luck with it though. :)

iv2b commented 4 years ago

Not required anymore.