Thread: Trajectory
View Single Post
  #6 (permalink)  
Old 10-13-2008, 08:02 AM
fishtoprecords's Avatar
fishtoprecords fishtoprecords is offline
Senior Member
 
Join Date: Jun 2008
Posts: 522
fishtoprecords is on a distinguished road
For this problem, you are much better off storing Velocity and Direction (an angle) along with current position. When you hit a paddle, you can just keep the velocity and reflect the direction.
Reply With Quote