Search found 3 matches
- Tue Sep 26, 2017 1:06 pm
- Forum: General
- Topic: issue with circle pong collision detection
- Replies: 4
- Views: 4022
Re: issue with circle pong collision detection
I think I found the issue for doing collision here https://stackoverflow.com/questions/630 ... 20#6312520
- Sat Sep 23, 2017 2:08 pm
- Forum: General
- Topic: issue with circle pong collision detection
- Replies: 4
- Views: 4022
Re: issue with circle pong collision detection
In your function LineAngle, replace math.atan with math.atan2 and replace the division sign with a comma. Specifically, note the differences between the parameters for math.atan and math.atan2 in the Lua 5.1 documentation . Also note that math.atan2 was deprecated in 5.3 (emphasis mine): The follow...
- Thu Sep 21, 2017 11:57 am
- Forum: General
- Topic: issue with circle pong collision detection
- Replies: 4
- Views: 4022
issue with circle pong collision detection
SO, I made the following simple circle pong toy. I am having issues with getting the correct angle . I'm getting negative values for the top-half of the circle ?! how can I just get 0 -> 360 ?!
https://github.com/Sweetkubuni/circle_pong
https://github.com/Sweetkubuni/circle_pong