I’m trying to move the cube so that when it exceeds an x value -6 or +6 (just doing + at the moment), to get it to appear the other side but at the correct z value. I’ve tried soh cah toa but just not getting it…
Left click and drag right to angle the camera above 180 (debug on right will show you Y rotation). Only after 180 deg will the code kick in to try and adjust the cube’s re-entry point on the other side.
Lines: 149 to 154
or is there a better way of doing this? I need to do this for 200 to 300 planes.
Would it be better to fix the camera and move the 200 to 300 planes? But then look direction becomes an issue…