Hey guys, I’ve been having some problems figuring out how I can have a certain part detect if there is any terrain in it. I’m working on a new spawn system for one of my games. Right now all my parts spawn on a random position “on top” of a part. But I wish too make it so. All the parts I want to spawn in one area spawn on each highest point “on” the terrain. Example:
(This is what players would see when the game runs.)
On the left you can see what I want to achieve. The right is what i figured out.
(This is what my studio view should look like.)
On the left you see a pink regional part that’s covering up a piece of terrain. When the game runs. It searches for any terrain in the part and spawns whatever I want on the highest point of the section. On the right side was how my old system was. But was for parts and checked for the TopSurface.
If you don’t understand what I mean. You may reply and I’ll respond back asap. Any thoughts are welcome!
Thanks in advance.