Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Replies
    11
    Views
    1,352

    Re: Trouble with Collision Detection

    I Have no idea if those are the correct values for the boolean variables for the state of the program.

    You need to analyze the values of the program's variables when it is not doing what you want...
  2. Replies
    11
    Views
    1,352

    Re: Trouble with Collision Detection

    Can you describe what happens in terms of program variables? What variables are set to what values and cause the visual effect you are describing?
  3. Replies
    11
    Views
    1,352

    Re: Trouble with Collision Detection

    I don't read it that way. The code: canMove = isCollidingWithWall(

    And $0.02 more makes it $0.04. Almost enough to bend over for to pick up.
  4. Replies
    11
    Views
    1,352

    Re: Trouble with Collision Detection

    canMove = isCollidingWithWall(

    When does isCollidingWithWall() return true?
    The sense of those names doesn't make sense to me?
    It seems to say it can move if it is colliding with the wall.
Results 1 to 4 of 4