Updated tree prefabs to have combined objects for better UI handling, Updated changelog, Increased object spawn distance again a bit due to overlapping.
This commit is contained in:
@@ -62,7 +62,7 @@ public class Tile : MonoBehaviour
|
||||
newPoint = new Vector3(rand.Next(-40, 40) + 100 * position.x, 50, rand.Next(-40, 40) + 100 * position.z);
|
||||
foreach (Vector3 vector in list)
|
||||
{
|
||||
if (Vector3.Distance(vector, newPoint) < 2.5f)
|
||||
if (Vector3.Distance(vector, newPoint) < 5.5f)
|
||||
{
|
||||
canSpawn = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user