I'm wanting to create an environment with a limited height/width where the shapes "wrap around" to the other side when they reach the edge of the field. For example, if I have a box that's falling and goes below the screen it will seamlessly go to the top and keep falling.
The problem is, it's not as simple as changing the shapes' locations when they reach the edge. If a shape is halfway off the edge I need it to interact with both sides. Is there any way to do this?
The problem is, it's not as simple as changing the shapes' locations when they reach the edge. If a shape is halfway off the edge I need it to interact with both sides. Is there any way to do this?