Search:

Type: Posts; User: poolman81

Search: Search took 0.51 seconds.

  1. Replies
    0
    Views
    1,173

    post collision direction

    Hi,

    I'm currently creating a pool game and have the bulk of the code written and working. However I am having trouble with determining the direction of a ball once a collision occurs. At...
  2. Replies
    11
    Views
    2,176

    Re: Vector implementation

    Yeah a point can be used too for my problem but vectors were suggested by my lecturer.
  3. Replies
    11
    Views
    2,176

    Re: Vector implementation

    Yes a 2d vector takes to values. The x and y coordinates of an object. As for the similarities of the 2 I can't say as I'm new to vectors myself.
  4. Replies
    11
    Views
    2,176

    Re: Vector implementation

    Thanks that's a great document. I understand how to give the initial coordinates but how do you create the size of each square and the amount of squares on the plane? Is this done individually with...
  5. Replies
    11
    Views
    2,176

    Re: Vector implementation

    Sorry about that. My question really is how do I go about implementing this code within my main and or other classes in order to divide my table into vectors? These vectors will then be used to...
  6. Replies
    11
    Views
    2,176

    Vector implementation

    Hi,

    I'm currently studying Java and have an assignment to create a pool game. I have the bulk of the work done but I am having issues with implementing 2d vectors. I have not been shown this and...
Results 1 to 6 of 6