I am using something similar like the gravity system in the castle markio demo, including the jump routine.
The problem is when my actor is standing on a slope, ramp or stairway, he tends to slide down the slope, even if it's only slightly uneven. Of course I already use a Collision method that does NOT slide down slopes, but it's the additional gravity that is making it sliding down.
How did you solve this problem? Please don't point me to comlex Physics systems I don't want to rewrite my games, it's only this little problem I want to solve.
Thanks for you suggestions.
The problem is when my actor is standing on a slope, ramp or stairway, he tends to slide down the slope, even if it's only slightly uneven. Of course I already use a Collision method that does NOT slide down slopes, but it's the additional gravity that is making it sliding down.
How did you solve this problem? Please don't point me to comlex Physics systems I don't want to rewrite my games, it's only this little problem I want to solve.
Thanks for you suggestions.