Make Platforms fall as you land on them?

Discussion in 'How Can I...?' started by Nicko1246, Jun 15, 2016.

  1. Nicko1246

    Nicko1246 Boxer

    Joined:
    Apr 30, 2016
    Messages:
    58
    Likes Received:
    4
    I've seen a lot of games where as your character lands on a platform, gravity kicks in and then it falls.
    I messed with the linear velocities, preset and object type but couldn't achieve this. I'm also curious about how to make platforms move only a certain distance left, right, up or down and then stopping in place.
     
  2. ian_jones

    ian_jones Boxer

    Joined:
    Sep 25, 2015
    Messages:
    19
    Likes Received:
    1
    To have them fall, set the object type to physics, then add a wake up component set the wake up attribute to collision.
     
    Nicko1246 likes this.
  3. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    For that you need to place a Logic Transform object. Set affected object, all other objects will be unaffected so if you need 3 different platforms to stop then you may need to add 3 Logic Transforms... Set maths to Replace and Velocity to 0 and the precise position where you want your platform landed (or just leave it empty). Fields you leave empty will be not affected by that logic.
     

Share This Page