Hi guys. I was looking for the same code as Duncanla, and i found few different ways to do the same as yours code BluNtMan n ChRoNiC.
my problem is that all the objects i have are different in size, plus when i change the screen resolution, the object looks smaller on screen. so that one: " if (object screen x(i) > x
-30) doesn't work for me.
i was thinking, is there any way to find the size of the object as it seen on screen, i mean if the object size is actually 100, but whe the distance betwen the camera and the object are 6000 the object would look smaller in size.
Thanks. (Sorry for my bad English)