Make Character's Rotation Follow The Slope Of Platform

Discussion in 'How Can I...?' started by Pete, Sep 10, 2018.

  1. Pete

    Pete Boxer

    Joined:
    Sep 8, 2018
    Messages:
    2
    Likes Received:
    0
    I'm working on a platformer game where I'd like the character to rotate with the slope/climb of the platform. Ideally, I'd also like it to fall of a platform if it's not completely on it.

    a bit like this:
    Screen Shot 2018-09-10 at 20.54.36.jpg

    I know I can play with the "platform friction" and also toggle "fixed rotation" gameplay setting on and off, but the problem I'm having is that as soon as the character doesn't have "fixed rotation" it starts either rolling up/down the platforms or flips upside down. I've played with motors and wheels as-well, which again makes it flip upside down at some point.

    Is there a way to prevent it from flipping (say control how much it turns), or just follow certain platform direction perhaps?

    see attached below
     

    Attached Files:

  2. mioii

    mioii Boxer

    Joined:
    Mar 25, 2020
    Messages:
    6
    Likes Received:
    0
    Hi, was this solved in some ways? i've the same issue
    thanks
     

Share This Page