Posted: Fri Dec 23, 2011 1:14 am Post subject: RE:Make the A.I Paddle follow the ball
oh wait i think i see the problem, ill try to fix it tomorrow when i get on the comp, dreadnought thanks your post shined a light in my eyess .
Sponsor Sponsor
Zren
Posted: Fri Dec 23, 2011 1:26 am Post subject: RE:Make the A.I Paddle follow the ball
Need Code: Yes.
What he means is why are you comparing the paddle.pos.x to ball.pos.y? The relation is on the x-axis, so you'd be comparing both x values. This is a one dimensional problem.