Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Make the A.I Paddle follow the ball
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Velocity




PostPosted: 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 Smile.
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 17 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: