playMaker

Author Topic: Move left or right 'towards' touch + constrain Y problem  (Read 1527 times)

ptrlo

  • Playmaker Newbie
  • *
  • Posts: 31
Move left or right 'towards' touch + constrain Y problem
« on: October 17, 2014, 11:44:09 PM »
I implemented a control scheme where the object moves right if the touch's X is larger than object X, and left if it's smaller. I am using "move towards" but unfortunately I can't properly ignore all other axes (like z) and even though I tell it to ignore vertical, it doesn't seem to be doing that. Is there a better way to do this?

Also: I have this weird bug where I constrain the object's Y position, yet when I do that it immediately starts moving through Y(!). Any ideas?