public CharacterController controller; public float speed = 10f; public float gravity = -19.62f; public Transform groundCheck; public float groundDistance = 0.4f; public LayerMask groundMask; public float jumpHeight = 3f; Vector3 velocity; bool isGrounded; private void Update() { isGrounded = Physics.CheckSphere(groundCheck.position, groundDistance, groundMask);//땅에 붙어 있는지 확인 if(isGrounded && ve..