Sloped Platforms And Character Movement?

Discussion in 'How Can I...?' started by Vilin13, Jan 12, 2017.

  1. Vilin13

    Vilin13 Boxer

    Joined:
    Dec 5, 2016
    Messages:
    27
    Likes Received:
    4
    Hi!

    I have some sweet sloped platforms. The problem is though that character and enemies do not "tilt" with the slope and stay straight and also character gets stuck when going from straight to sloped platform. Any way to fix that or will I have to use different engine ?
     
  2. runrollgames

    runrollgames Boxer

    Joined:
    Jan 14, 2016
    Messages:
    77
    Likes Received:
    27
    Go to settings and change friction between (0 - 5) .. play with other settings for realistic movement ..
     
    Vilin13 likes this.
  3. Vilin13

    Vilin13 Boxer

    Joined:
    Dec 5, 2016
    Messages:
    27
    Likes Received:
    4
    Thanks mate, that works for the character. Do you perhaps know how to make enemies walk on slope also? I was thinking perhaps creating a path...
     
  4. Vilin13

    Vilin13 Boxer

    Joined:
    Dec 5, 2016
    Messages:
    27
    Likes Received:
    4
    I'm answering just to offer solution if anyone will need it: for enemies walking on sloped platform just use Linear Velocity on both X and Y scale and play with settings so it will look natural. My mistake was one which perhaps many people have, I was set on using "full" numbers (1, 2, 3 etc...) when in truth I needed 5 velocity on X and just 0.2 on Y. Now my enemy walks both ways on the slope like a champ. Hopefully someone finds this information useful.
     

Share This Page