Constrain the movement of an object to the screen...

mercyparkmercypark Member Posts: 20
edited November -1 in Working with GS (Mac)
I'm trying really hard to learn the process and why behind this whole accelerometer thing. I get the geometry and all I'm just trying to figure out how to constrain my object to stay on the screen. I have very simple plan:

An object that is controlled by the accelerometer to go left and right and that's it. But I want it to stay on the screen and not be able to go past the screen barriers. I have tried everything and studied all I can find on the non-movable walls in the templates but I can't seem to figure it out. I'm sure you genius people can help.

Comments

  • mercyparkmercypark Member Posts: 20
    if you were a real tshirt i would wear you!! thanks bro.
  • JGary321JGary321 Member Posts: 1,246
    Darn tshirt got to it before us geniuses showed up. You quick devil you...
Sign In or Register to comment.