wave movement to left

rboi88rboi88 Member Posts: 7
edited November -1 in Working with GS (Mac)
Hi!

Newbie here. I have read this tutorial "http://gamesalad.com/wiki/how_tos:gsc_wave_movement" and it only shows movements going up and right. My problem is how do I move an actor to go left in wave motion?

Any suggestions?

Thank you.

Comments

  • ORBZORBZ Member Posts: 1,304
    Lin velocity x = -100
    Lin velocity y = sin(self.time*100)*100

    You may have to tweak the numbers.
  • ToastKittenToastKitten Member Posts: 360
    ORBZ said:
    Lin velocity x = -100
    Lin velocity y = sin(self.time*100)*100

    You may have to tweak the numbers.

    :D
  • rboi88rboi88 Member Posts: 7
    thank you very much... :
Sign In or Register to comment.