Few Range
This commit is contained in:
@@ -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()
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user