-
Notifications
You must be signed in to change notification settings - Fork 0
Home
rtperson edited this page May 2, 2011
·
3 revisions
###Progress and issues thus far###
4/30/11 My problem right now is with calculation of distance. In Firth's examples, he assumes all coordinates have a center of zero, and a distance of one to the edge. But I'm in Love2d, where the coordinate system (like that of SDL) is zero at the edge... ... Come to think of it, where is the #$#&*! edge? I officially hate the documentation for Love2d...
5/2/11 Figured it out: translating the x-y coords to the center of the screen works. I can now calculate collision with a plane. Now to determine the proper vector of reflection.
Complication: y is going in the opposite direction from what you'd think. Not an insurmountable problem, but you do have to be careful. Negative y is at the top of the screen.