- Home /
Question by
fajerbujt · Jul 11, 2020 at 08:12 AM ·
2d game2d-platformercollider2d2d-physics
BoxCollider2D have an offset on collision,Collider2D has an collision offset?
I have two BoxCollider2D's, one attached with a Rigidbody2D one without. However when they touch there appears to be a slight offset (1 pixel) between the colliders.
See below:
Any way to fix this?
Comment
Check Project settings > Time > Fixed Timestep https://answers.unity.com/questions/966508/what-can-i-do-about-collisions-that-are-not-accura.html and if that doesn't work, play with everything in project settings physics 2d