diff --git a/FallUnity/Assets/Game/LeafGenerator.cs b/FallUnity/Assets/Game/LeafGenerator.cs index f38e9e0..e900e62 100644 --- a/FallUnity/Assets/Game/LeafGenerator.cs +++ b/FallUnity/Assets/Game/LeafGenerator.cs @@ -29,7 +29,7 @@ if (hit && hitInfo.normal.y > 0.6f) { LeafPhysics leaf = GameObject.Instantiate(Leafs[Random.Range(0, Leafs.Length)]); - leaf.transform.position = hitInfo.point + Vector3.up * 0.03f; + leaf.transform.position = hitInfo.point + Vector3.up * 0.07f; leaf.transform.rotation = Quaternion.Euler(new Vector3(0, Random.value * 360, 0)); float scale = Random.Range(0.9f, 1.3f); diff --git a/FallUnity/Assets/Game/LeafGenerator.cs b/FallUnity/Assets/Game/LeafGenerator.cs index f38e9e0..e900e62 100644 --- a/FallUnity/Assets/Game/LeafGenerator.cs +++ b/FallUnity/Assets/Game/LeafGenerator.cs @@ -29,7 +29,7 @@ if (hit && hitInfo.normal.y > 0.6f) { LeafPhysics leaf = GameObject.Instantiate(Leafs[Random.Range(0, Leafs.Length)]); - leaf.transform.position = hitInfo.point + Vector3.up * 0.03f; + leaf.transform.position = hitInfo.point + Vector3.up * 0.07f; leaf.transform.rotation = Quaternion.Euler(new Vector3(0, Random.value * 360, 0)); float scale = Random.Range(0.9f, 1.3f); diff --git a/FallUnity/Assets/Leaves/Leaf.prefab b/FallUnity/Assets/Leaves/Leaf.prefab index 8131250..43d317c 100755 --- a/FallUnity/Assets/Leaves/Leaf.prefab +++ b/FallUnity/Assets/Leaves/Leaf.prefab @@ -119,7 +119,7 @@ m_GameObject: {fileID: 1072828139650178} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0.005, y: 0, z: -0.0161} - m_LocalScale: {x: 0.06130239, y: 0.04318334, z: 0.040370498} + m_LocalScale: {x: 0.084071405, y: 0.05922254, z: 0.055364948} m_Children: [] m_Father: {fileID: 4112338132911916} m_RootOrder: 0 @@ -174,7 +174,7 @@ m_GameObject: {fileID: 1654736090170718} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.29414508, y: 0.120515935, z: 0.120515935} + m_LocalScale: {x: 0.40339684, y: 0.16527808, z: 0.16527808} m_Children: [] m_Father: {fileID: 4112338132911916} m_RootOrder: 2 @@ -187,7 +187,7 @@ m_GameObject: {fileID: 1906529563300476} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 1.3714213, y: 1.371421, z: 1.371421} m_Children: - {fileID: 4268844896831280} - {fileID: 4236831107365300} diff --git a/FallUnity/Assets/Game/LeafGenerator.cs b/FallUnity/Assets/Game/LeafGenerator.cs index f38e9e0..e900e62 100644 --- a/FallUnity/Assets/Game/LeafGenerator.cs +++ b/FallUnity/Assets/Game/LeafGenerator.cs @@ -29,7 +29,7 @@ if (hit && hitInfo.normal.y > 0.6f) { LeafPhysics leaf = GameObject.Instantiate(Leafs[Random.Range(0, Leafs.Length)]); - leaf.transform.position = hitInfo.point + Vector3.up * 0.03f; + leaf.transform.position = hitInfo.point + Vector3.up * 0.07f; leaf.transform.rotation = Quaternion.Euler(new Vector3(0, Random.value * 360, 0)); float scale = Random.Range(0.9f, 1.3f); diff --git a/FallUnity/Assets/Leaves/Leaf.prefab b/FallUnity/Assets/Leaves/Leaf.prefab index 8131250..43d317c 100755 --- a/FallUnity/Assets/Leaves/Leaf.prefab +++ b/FallUnity/Assets/Leaves/Leaf.prefab @@ -119,7 +119,7 @@ m_GameObject: {fileID: 1072828139650178} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0.005, y: 0, z: -0.0161} - m_LocalScale: {x: 0.06130239, y: 0.04318334, z: 0.040370498} + m_LocalScale: {x: 0.084071405, y: 0.05922254, z: 0.055364948} m_Children: [] m_Father: {fileID: 4112338132911916} m_RootOrder: 0 @@ -174,7 +174,7 @@ m_GameObject: {fileID: 1654736090170718} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.29414508, y: 0.120515935, z: 0.120515935} + m_LocalScale: {x: 0.40339684, y: 0.16527808, z: 0.16527808} m_Children: [] m_Father: {fileID: 4112338132911916} m_RootOrder: 2 @@ -187,7 +187,7 @@ m_GameObject: {fileID: 1906529563300476} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 1.3714213, y: 1.371421, z: 1.371421} m_Children: - {fileID: 4268844896831280} - {fileID: 4236831107365300} diff --git a/FallUnity/Assets/Leaves/Leaf2.prefab b/FallUnity/Assets/Leaves/Leaf2.prefab index 00e55f5..b5ff1c8 100644 --- a/FallUnity/Assets/Leaves/Leaf2.prefab +++ b/FallUnity/Assets/Leaves/Leaf2.prefab @@ -135,7 +135,7 @@ m_GameObject: {fileID: 1885799153030774} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.5407102, y: 1.5407107, z: 1.5407107} + m_LocalScale: {x: 2.19298, y: 2.1929805, z: 2.1929805} m_Children: - {fileID: 4389741520150730} - {fileID: 4464383291627828} @@ -176,7 +176,7 @@ m_GameObject: {fileID: 1424146981511136} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.29414508, y: 0.120515935, z: 0.120515935} + m_LocalScale: {x: 0.4186733, y: 0.17153715, z: 0.17153715} m_Children: [] m_Father: {fileID: 4055726997823484} m_RootOrder: 2 @@ -189,7 +189,7 @@ m_GameObject: {fileID: 1724374022868392} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0.005, y: 0, z: -0.0161} - m_LocalScale: {x: 0.094449215, y: 0.06653304, z: 0.062199257} + m_LocalScale: {x: 0.13443491, y: 0.09470023, z: 0.08853172} m_Children: [] m_Father: {fileID: 4055726997823484} m_RootOrder: 0