I'm writing a player movement script, and I'm having a bit of an issue with slope interactions.
If I currently continually move into a slanted wall, say 60 degrees, I will slide upwards for one frame, before moving back down to the floor. This repeats very quickly, which makes it look like jittering.
I was wondering if there were any simple solutions to fix this jittering? Or more specifically, stop sliding up with slope in the first place in moveandslidewithsnap() (interact like a 90 degree wall), but still be able to slide down if player lands on the wall from above.