Spawning Player on random gen terrain

I’m making a horror game which uses randomly generated terrain, and I need help with getting the player to spawn on top of the terrain instead of below it.

If anyone could help out it would be much appreciated.

Shoot a raycast down from max height only using the terrain collider’s layer mask

1 Like

Thank you!