Make an Actor follow animation of another

RastaRiseRastaRise Member Posts: 52
edited November -1 in Working with GS (Mac)
I have a spring, ball, and a button. When you press the button the spring moves up and down to show the power of the shot. I was wondering if it was possible to have the ball move up and down with the spring when the button was pressed. I already have it setup so the spring has an animation when the button is pressed(it moves up and down).

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Top of my head stuff, you'd have to have an invisible actor half way down the spring and another at the top of the spring. When the ball hits/enters the top invisible actor, that would trigger the spring animation, the spring going down/compressing, to say about half way, then the ball would trigger the second invisible actor to collide off, the animation continuing up again to the full spring height. Timing is everything this way though and would need a bit of experimentation. I'm guessing there'd be other ways to do this as well; maybe other Forum members will suggest them. Hope this works though; let me know if it does, thanks! :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • RastaRiseRastaRise Member Posts: 52
    but, the ball needs to move with the animation and then shoot when the button is released, where ever the animation ended.
    Example:
    _O_----ball on platform
    . !
    . ! ---- Spring
    . !

    If the spring is half way or 1/3 of the way and the button is released then the ball needs to shoot from that spot, even if the ball does all the way down the releases when it is 2/3 the way up. There are a total of 14 images in that animation, 7 going down then, 7 going back up. Let me know if this doesn't make sense.
  • RastaRiseRastaRise Member Posts: 52
    does anyone else have a way of doing this?
Sign In or Register to comment.