Skip to content

Sliding down slopes while also allowing movement upward #75

Description

@jamesarndt82

I've re-purposed this system for a skateboarding game and it's working well. One sticking point I'm trying to figure out is how to get the player to slide back down to the bottom as if gravity were at play, but also allow the player to move up the slope. Right now it does this when I set a low angle not allowing player to move up (slides down nicely)...but again the player cannot move up slopes. I've been digging through the code for a couple of hours looking for what I need to comment out to no avail. Can anyone point me in the right direction?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions