summaryrefslogtreecommitdiffhomepage
path: root/Assets/Scripts/MovingSphere.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/MovingSphere.cs')
-rw-r--r--Assets/Scripts/MovingSphere.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Assets/Scripts/MovingSphere.cs b/Assets/Scripts/MovingSphere.cs
index a839ca7..495d229 100644
--- a/Assets/Scripts/MovingSphere.cs
+++ b/Assets/Scripts/MovingSphere.cs
@@ -28,13 +28,11 @@ public class MovingSphere : MonoBehaviour
Vector3 inputVelocity;
- // Start is called before the first frame update
void Awake()
{
body = GetComponent<Rigidbody>();
}
- // Update is called once per frame
void Update()
{
Vector2 playerInput = new Vector2(
@@ -68,7 +66,6 @@ public class MovingSphere : MonoBehaviour
if(desiredJump)
{
- Debug.Log("Attempted Jump!");
desiredJump = false;
Jump();
}
@@ -89,7 +86,6 @@ public class MovingSphere : MonoBehaviour
{
if(onGround || jumpPhase < maxAirJumps)
{
- Debug.Log("Jump!");
jumpPhase += 1;
float jumpSpeed = Mathf.Sqrt(-2f * Physics.gravity.y * jumpHeight);
if(velocity.y > 0f)