I have a ground object right now and I’m trying to figure out how to instantiate more when the camera can “see” the end of the current ground. I wanted to make the ground spawn seamlessly right next to my current ground and keep doing that each time the camera can see the edge of the ground it is on. How would I go at accomplishing this? I was thinking about using the cameras position and then checking it to see if it is a certain distance away from the end of the ground, but I want to be able to do this for each ground that is instantiated as well
note I scaled the far clipping plane down to 50, so it can see up to 50 units away