playMaker

Author Topic: Move Gameobject left to right continuously  (Read 1116 times)

PlaymakerNovice

  • Playmaker Newbie
  • *
  • Posts: 18
Move Gameobject left to right continuously
« on: October 28, 2015, 09:26:50 AM »
I have a gameobject that I want moving left until it touches the edge of the screen and then right until it touches the edge of the screen and repeat. I've tried doing this by using translate to make it move and then having a game object on each side of the screen with a trigger and when it is touched by the moving game object the moving game object will move the other way, but it doesn't work. The game object just goes through it or is really choppy, or if another object touches is that doesn't have the tag that makes it move, make the moving object move anyway.