Question by
Mrlarkin24 · Dec 05, 2018 at 12:46 AM ·
colliderraycasthit2dgaps
Gap between colliders stopping hit.collider.tag from working
I'm trying to use raycastHit2d to work so it detects when the player hits the ground but from what i can tell the code in the image isn't working because of the gap between the player's box collider and the ground' box collider. I would appreciate any help thank you
Comment
Your answer
Follow this Question
Related Questions
Raycast collisions being detected along a non-existent curve(?) 1 Answer
How can I check whether my Ray is hitting an edge collider or not? 0 Answers
Get 2 points of certain part of Edge Collider 2D 0 Answers
Only the very first if statement actually works 1 Answer
Why isn't my blender character not working properly? 1 Answer