Search:

Type: Posts; User: Adak

Search: Search took 0.04 seconds.

  1. If velocity can't be less than zero, then you can...

    If velocity can't be less than zero, then you can delete the if(velocity == 0) in blue, above.

    An else is all that you need there.
  2. change this line: else(velocity == 0) ...

    change this line:



    else(velocity == 0)

    //to

    else if(velocity == 0)
Results 1 to 2 of 3