Reputation: 39
I've found nothing about this. Here's the groundcheck Grounded = Physics.CheckSphere(spherePosition, GroundedRadius, GroundLayers, QueryTriggerInteraction.Ignore);
how do I fix it?
Upvotes: 1
Views: 473
Reputation: 1998
Answer by hanisherif1997_unity in Unity forum : https://answers.unity.com/questions/1579825/physicschecksphere-not-working.html Basically change the layer mask of player to a new layer like "Character" otherwise if it is Default, its player's collider is colliding in checkSphere
Upvotes: 1