I’m trying to determine if there is something above the player, but CapsulaCast doesn’t give out True.
Vector3 point1 = transform.position;
Vector3 point2 = transform.position + Vector3.up * (playerColider.height + 1f);
upperGrounded = Physics.CapsuleCast(point1, point2, 1f, Vector3.up, playerColider.height, whatIsGround);
What could be the reason for me or is this method not suitable?