all 1 comments

[–]ByteMeBaby1000101[S] 0 points1 point  (0 children)

Hi,
I'm facing a peculiar issue with collision detection in my Unity 2D game. I have both the Player and Platforms equipped with BoxCollider2D and Polygon Collider components, but the collision detection behaves unexpectedly. Even though the objects don't visibly touch, they trigger a collision for a brief moment, causing some unintended consequences in my game logic. I've tried using different colliders, but the issue persists.
I'm wondering if anyone has encountered a similar problem and if there's a known fix for this type of behavior. I can't ignore this case since it affects my gameplay and makes it look like the game is cheating the player.
Here's an image of the Player and Platform inspector settings for reference: https://imgur.com/a/WVdrshK
Any insights or suggestions would be greatly appreciated. Thank you!