Make My Character Stick To A Platform When Gravity Is 0

Discussion in 'How Can I...?' started by Adamovita, Jul 17, 2017.

  1. Adamovita

    Adamovita Boxer

    Joined:
    Feb 5, 2017
    Messages:
    12
    Likes Received:
    2
    I want my character to stick to a platform as soon as they touch, but since gravity is 0 it bounces off even when "bounce" is on 0
     
  2. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    A couple of other things to look at, would be:

    ~ create a negative gravity -50 or perhaps -200, so if you're jumping, you'll return to the ground very quick with say -200 and more likely to stick to your platform.

    ~ increase platform friction. A higher number will create more friction for your character when it lands on a platform.

    Experiment with these settings a lot, as every game is different from the next and I don't know exactly what you're trying to achieve in your game, but these might help.
     
    Adamovita likes this.
  3. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    If you do not want to add gravity you can try to add Advanced Movement to the character based on collision and with that you can set Velocity to 0. The time out should be the longest possible value that does not affect the gameplay.
     
  4. Adamovita

    Adamovita Boxer

    Joined:
    Feb 5, 2017
    Messages:
    12
    Likes Received:
    2
    Indeed a good idea, thank you for that, but now I have a new problem.
    I tried working with advanced moves but they are "spamable" and tried it with no-gravity-jumps since the effect is kinda the same.
    The jumps keep acting weird.

    Youtube link:


    And with advanced moves the problem looks like this:
     

Share This Page