Hello, I’m making a game in a spaceship, it have some spawn locations to make a random spawn but in my game the spaceship break apart randomly so I was wondering how to make spawn locations so that players don’t spawn and die.
If I make the spawn locations an entire room and one part of the floor break the players could spawn and fall immediatly making him die , which is obviously frustrating.
At the moment I made it so I have small spawn locations that can break with CanCollide so the spawn locations are a “limited ressource” and they can get hit by things, those 2 things being unwanted
I would prefer if my spawn locations doesn’t have CanCollide to true and I would like to have room-sized spawn locations that doesn’t make you spawn and fall.
TLDR : spawn location room-sized that spawn only where there is ground
Are you sure spawns are anchored and CanCollide property is on ? If i’m wrong, send the script.
I can’t anchor SpawnLocations since the spaceship move. CanCollide is on so SpawnLocations can “break” but that’s not ideal since at some point the game will be out of SpawnLocations. I don’t have script at the moment I just have some SpawnLocationsin the spaceship. The only script that I have is one that roughly does : " when SpawnLocation hit , SpawnLocation.Enabled = false "
1 Like
Here is a video of the problem : robloxapp-20201120-1531164.wmv (2.0 MB)
As you can see I sometime spawn where there is ground and sometime not. I would like to spawn only where there is ground
1 Like
Ahhhhh, first you did a script who disable the SpawnLocation on hit (SpawnLocation.Enabled = false), so you will not be able to spawn on the spawn once you die (You can delete it or else let). Second you can try weld spawns to the spaceship, so they will move easier with. Third enable collisions if you don’t want every players fall at each spawn (like show on the video).
1 Like
Yea I’ll stick to that but I find it weird that SpawnLocation have so little customization option and that no one seems to care about it. I guess people don’t make a lot of game where it’s important… or maybe there is something else I’m missing
1 Like
Yeah, good luck with your game, i’ll maybe test it out. It seems cool 
1 Like
Sorry to speak there,
But i tested your game, it’s cool tycoon.
Just 1 thing, you can use ViewportFrame on the menu of objects list.
A screenshot i took:
1 Like