Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ptrlo on October 17, 2014, 11:44:09 PM

Title: Move left or right 'towards' touch + constrain Y problem
Post by: ptrlo 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?