Skip to main content

I have changed

if (absDepthY < absDepthX || collision == TileCollision.Platform)

 if (absDepthY < absDepthX || collision == TileCollision.Platform)

to

if (absDepthY <= absDepthX || collision == TileCollision.Platform)

 if (absDepthY <= absDepthX || collision == TileCollision.Platform)

I changed

if (absDepthY < absDepthX || collision == TileCollision.Platform)

to

if (absDepthY <= absDepthX || collision == TileCollision.Platform)

I have changed

 if (absDepthY < absDepthX || collision == TileCollision.Platform)

to

 if (absDepthY <= absDepthX || collision == TileCollision.Platform)
Source Link
dbomb101
  • 950
  • 1
  • 11
  • 26

I changed

if (absDepthY < absDepthX || collision == TileCollision.Platform)

to

if (absDepthY <= absDepthX || collision == TileCollision.Platform)