Any help here or dont you know if no one is smart enough to help me here ill go to kuripa forum. So please help.
a 'please fix my file'- thread never is attractive
you need the cross product of the wall line/vector with and the speed vector- with the tutorial that should not to hard. Have you even understood the tut?
a 'please fix my file'- thread never is attractive
you need the cross product of the wall line/vector with and the speed vector- with the tutorial that should not to hard. Have you even understood the tut?
Yes I understand it I dont another one were the speed is slower and it works but I dont want that I need it to be faster for a pool game.
but if thats too over your head, simply loop through all positions from old to current and check collision with those positions, if a hit is found, break from the loop.
it is the easiest method but will slow down the player quite allot with all the checking and mathematical functions.
a hack might be to increase the balls radius by its speed. The collision wont be accurate but at least things will hit