Generates a set of random positions on the surface of a given spawn location, while ensuring that the generated positions are at least MinDistanceToEdge away from any edges and follow the other settings specified in SpawnSettings.
Parameters
OutTransforms
An array of transforms representing the generated positions.
Returns
A boolean value indicating whether valid positions were found. If no valid positions could be found, OutTransforms will be empty.
Generates a set of random positions on the surface of a given spawn location, while ensuring that the generated positions are at least MinDistanceToEdge away from any edges and follow the other settings specified in SpawnSettings in the give room.
Parameters
Room
The room where the positions should be generated in.
OutTransforms
An array of transforms representing the generated positions.
Returns
A boolean value indicating whether valid positions were found. If no valid positions could be found, OutTransforms will be empty.