Few Range

This commit is contained in:
GamerClassN7
2022-01-30 11:34:49 +01:00
parent e5a83b0434
commit c8959959f0
29 changed files with 18 additions and 18 deletions

View File

@@ -8,7 +8,7 @@ public class BGRotation : MonoBehaviour
private void Start()
{
rotation = new Vector3(Random.Range(0, 360), Random.Range(0, 360), Random.Range(0, 360));
rotation = new Vector3(Random.Range(0, 360), Random.Range(0, 360), Random.Range(0, 360)) * 0.009f;
}
void FixedUpdate()

View File

@@ -73,7 +73,7 @@ public class ProceduralGeneration : MonoBehaviour
// Debug.Log("Building LOOP");
int pieceCount = 10;
float radius = (pieceCount / 2) * 2;
float radius = (pieceCount / 2) + 1.9f;
float angle = 360f / (float)pieceCount;
Bounds bounds = this.getPrefabBounds(lastObject);