Pardon my spaghetti code. My movement system works by interpolating between target speed values based upon movement states and ive been using this to very roughly calculate movement speed based on slope angles.
__
I want to translate my vertical momentum to horizontal momentum when I collide with a slope. As of now I lose a large majority of my horizontal speed and no vertical momentum is translated. i do not know how to solve this issue.