Skip to main content
edited tags
Link
DMGregory
  • 140.8k
  • 23
  • 257
  • 401
added 74 characters in body
Source Link
RickS.
  • 51
  • 1
  • 6
  • When debugging, the collision check only prints "Touching Left/Right".
  • When i move a rectangle to the top or bottom side of another, the first rectangle jumps to the other side.
  • The firstsecond problem works correctly if the first rectangle is alligned perfectly to the top or bottom side.
  • When i move a rectangle to the top or bottom side of another the first rectangle jumps to the other side.
  • The first problem works correctly if the first rectangle is alligned perfectly to the top or bottom side.
  • When debugging, the collision check only prints "Touching Left/Right".
  • When i move a rectangle to the top or bottom side of another, the first rectangle jumps to the other side.
  • The second problem works correctly if the first rectangle is alligned perfectly to the top or bottom side.
added 3 characters in body
Source Link
RickS.
  • 51
  • 1
  • 6

Here is a snippet of the code that i currently have, i hope someone can help me find thesolve these problems.

Here is a snippet of the code that i currently have, i hope someone can help me find the problems.

Here is a snippet of the code that i currently have, i hope someone can help me solve these problems.

Source Link
RickS.
  • 51
  • 1
  • 6
Loading