Make Object Move By Invisible Button

Discussion in 'Level Design' started by zexbox, Feb 24, 2021.

  1. zexbox

    zexbox Boxer

    Joined:
    Sep 30, 2020
    Messages:
    4
    Likes Received:
    1
    Hi all, this is an easy one for many game developers but for some reason, I have completely forgotten how to do it. What I am trying to do is make a character run up a road then step on an invisible button. Let's say a call the button "IButton" and in front of me hidden is a wall, I shall call this "Wall". How do I make it when my character runs over "IButton" can I make "Wall" move out in front of me? I have forgotten the nodes which I am supposed to use. Is anyone able to help me :( Thanks in advance.
     
  2. Hue Buildbox

    Hue Buildbox Administrator Staff Member

    Joined:
    May 11, 2017
    Messages:
    456
    Likes Received:
    209
    Hi, you can use a 'Wake up' node, which gets triggered by a set distance or place a transparent object to trigger an 'If collide' node and connect a 'Position Animation', Rotation Animation' or a 'Move' node.
    Hope this helps.:)
     
  3. zexbox

    zexbox Boxer

    Joined:
    Sep 30, 2020
    Messages:
    4
    Likes Received:
    1
    Thank you very much for that, the plan is now coming back in my head on how to do it, much appreciated :)
     

Share This Page