Wake Up Animated Object [solved]

Discussion in 'How Can I...?' started by andre_sprs, Oct 23, 2016.

  1. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    I think that i'm having a brian fart but here's my issue: I have a animated spike that I want to wake up and start the animation when I get to a certain distance. So I added the wake up component and set the distance but when I start the game the animation runs by default. Im guessing its because of the default animation of the spike.
    I want to basically achieve the effect of the spike coming out of the ground when I get to a certain distance.
     
  2. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Not sure, but if you turn of loop in animation does that help. Otherwise i have no idea.
     
    andre_sprs likes this.
  3. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Also try to play with making the object a spawner. Normally all objects are loaded when the scene gets loaded and from that moment the animation runs. But I've seen that spawned objects are not in sync with the other objects so probably it gets loaded when it wakes up. You would have to spawn it for a very high value like 999999 so it won't duplicate itself a thousand times. I have reported this behaviour as a bug but support told me that there is nothing wrong with it. Perhaps it helps you now. :D
     
  4. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    Nope, I have loop turned off. Thanks for the suggestion
     
    playsgames6666 likes this.
  5. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    Holy Crap.....genius! This works for me. Thank you
     
    playsgames6666 and Christoph like this.
  6. tanvir8955

    tanvir8955 Avid Boxer

    Joined:
    Apr 26, 2016
    Messages:
    140
    Likes Received:
    76
    Thank you @Christoph It helped me :)
     
    Christoph likes this.
  7. KidApp

    KidApp Boxer

    Joined:
    Apr 9, 2017
    Messages:
    72
    Likes Received:
    12
    Ok. But how to play the animation only ONCE?
    And then, when you touch the object again - it plays the animation once again?

    I could achieve that with Advanced Movement, but the problem is when a character touches the object for 1 min, the looped animation plays for 1 min as well. How to make it plays once?
     

Share This Page