need expert help with ani trigger

Discussion in 'Gameplay' started by simonsaunders, Mar 12, 2016.

  1. simonsaunders

    simonsaunders Boxer

    Joined:
    Feb 17, 2016
    Messages:
    39
    Likes Received:
    2
    set as platformer, which might not be the best choice?

    im using a tree as a character and i want it to naturally fall down, (ive set this up as ani in default ani) the same way a tree would in real life, so pivot point would be at the bottom . the fall would happen very slowly. BUT if you wanted to interrupt and stop the tree falling naturally, you press spacebar and the tree stays upright.

    THE PROBLEM
    holding the space bar continually keeps the static tree ani triggered - which i dont want. i want it to work so you must repeatedly hit the space bar to stop the tree falling... so only the animation triggers once.

    im banging my head against this dam tree trying to work out this.. :)

    any help appreciated thanks
     
  2. jigglybean

    jigglybean Avid Boxer

    Joined:
    Nov 3, 2015
    Messages:
    270
    Likes Received:
    125
    All I can think of is playing around with the gravity settings in your game world and for your character.

    If the space bar is the 'jump' button - just add a longer wait time to the Jump Timeout. Like above, you will just have to play with the settings until you find something that is spot on
     

Share This Page