I really want to know how to achieve something like in this image is possible?
Basically my game is 2D game and it has an Arrow collider with target object
But the arrows always hit a target only in shape of Collision box
not closed to the actual object shape like this in first step of this image,
so I would like to achieve a second step of this image By let an arrows go through a collider to hit an object like this! is this possible?
Seems a strange question TBH. If you don’t want a box then don’t use a BoxCollider2D. If you want an arbitrary polygon outline then use a PolygonCollider2D.
Your visuals are pseudo 3D so when you hit the actual outline of the object, place the arrow inset from the collision by a certain amount. The collision normal of that hit position would point outwards so use the inverse of that and inset the position using it to place the arrow visual.
Either that or make the PolygonCollider2D inset from the actual image so the hit position is where you place the arrow. Pretty simple to do.