up and down

st1031130082st1031130082 Member Posts: 2
edited June 2015 in Working with GS (Mac)

hi , i am making basketball game and i want the basket move up and down without press any thing

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited June 2015

    Constrain the actor's Y position to AAA *sin(self.time *BBB)+CCC

    AAA = the range of movement.
    BBB = the speed of movement.
    CCC = the centre point of the movement.

Sign In or Register to comment.