Hi guys!
Im heaving so much fun in Unity but i faced with an issue.
I made a script for my 2D Player Controller ( for a platformer) but I’m heaving issues when i want to jump on boxes and such!
When im on the edge, the Ground Check Radius is too big or too small (boost from the edge of the box or doesn’t even jump, depends on what radius i choose). So i want to change it to a box not a circle ground check!(any other idea is welcomed as well)
Can you guys help me?
Thank you ^^
The line is:
private bool isGrounded;
public Transform groundCheck;
public float checkRadius;
public LayerMask whatIsGround;
void FixedUpdate()
isGrounded = Physics2D.OverlapCircle(groundCheck.position, checkRadius, whatIsGround);