- Home /
Question by
Bruzel · Aug 16, 2021 at 08:34 AM ·
2d2d gameshootingoncollisionenter
OnCollisionEnter2D ignores Z axis!,OnCollissionEnter2D ignores z axis.
Hey, I am creating a 2D sniper game and if you shoot and the bullet is on the same X and Y coordinates as the target it is directly hit. It does not matter what the Z axis is. How can I fix it? I know it is 2D, so it makes a bit of sense, but I need a solution.
Comment