I'm sure this has been covered before but cannot find an example any where.
Imagine a 3d space invaders game. I need to stop the player from moving off screen left and right I cannot use the 2d co-ords as this is 3d space. So what is the easiest way to determine where the screen 'edges' / limits are?
Imagine a 3d space invaders game. I need to stop the player from moving off screen left and right I cannot use the 2d co-ords as this is 3d space. So what is the easiest way to determine where the screen 'edges' / limits are?