Commit 81ee5f13 authored by 15박보승's avatar 15박보승

마무리 푸쉬

parent a68fc166
This diff is collapsed.
...@@ -16,6 +16,6 @@ public class CloudBehaviour : MonoBehaviour ...@@ -16,6 +16,6 @@ public class CloudBehaviour : MonoBehaviour
{ {
ParticleSystem.ColorOverLifetimeModule module = cloud.colorOverLifetime; ParticleSystem.ColorOverLifetimeModule module = cloud.colorOverLifetime;
module.color = new Color(1, 1, 1, height / 500); module.color = new Color(1, 1, 1, height / 500);
transform.position = new Vector3(transform.position.x, height - 400, transform.position.z); transform.position = new Vector3(transform.position.x, height - 100, transform.position.z);
} }
} }
\ No newline at end of file
...@@ -119,7 +119,7 @@ public class PlayerController : MonoBehaviour ...@@ -119,7 +119,7 @@ public class PlayerController : MonoBehaviour
if (joint.enabled) if (joint.enabled)
joint.moveDelta = (horizontal * transform.right + vertical * transform.forward).normalized * 30.0f; joint.moveDelta = (horizontal * transform.right + vertical * transform.forward).normalized * 30.0f;
else else
rb.AddForce((horizontal * transform.right + vertical * transform.forward).normalized * 10.0f); rb.AddForce((horizontal * transform.right + vertical * transform.forward).normalized * 10.0f * Time.deltaTime);
} }
if (MapManager.inst.IsOutOfMapBounds(transform.position)) if (MapManager.inst.IsOutOfMapBounds(transform.position))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment