Hello, Im making a physics based game in unity, and im making the ground detection of the player a trigger sphere collider parented to the player himself. Both the ground and the sphere have kinematic rigidbodies. Now, when i try checking for the ground via OnTriggerEnter and OnTriggerStay it sometimes just doesnt register, and my player is lying on the ground with the script thinking im still in the air. I have searched the internet for this and nothing helped. Any ideas?
Edit: I found out this happens when the ground detection leaves the collider of another object thats not the ground, even if its still on the ground. I tried using CompareTag, adding physics layers, nothing helped.