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...
Type: Posts; User: poolman81
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...
Yeah a point can be used too for my problem but vectors were suggested by my lecturer.
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.
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...
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...
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...