cjddmut / Unity-2D-Platformer-Controller

A customizable 2D platformer motor that handles mechanics such as double jumps, wall jumps, and corner grabs. Includes a player controlled prefab that can be dropped into any scene for immediate support.
MIT License
873 stars 163 forks source link

Fix getting stuck with moving platform issue #78

Open roxas0zero opened 4 years ago

roxas0zero commented 4 years ago

assigning a moving platform layer mask, the player gets stuck when trying to get up/down slopes. thanks to @AlexAdvani

bryantk commented 3 years ago

Hope this repo is still alive ;)

+1 to the fix... however, it does add sliding to vertically moving sloped platforms.... (horizontally moving sloped platforms slide with old or new code)