## Recent topics-
*47 weeks 4 days*ago -
*1 year 14 weeks*ago -
*1 year 39 weeks*ago -
*1 year 47 weeks*ago -
*2 years 6 weeks*ago
## Recent Comments |
## angle&distance (Composition by ale_pq)
Calculate angle and distance between two points. ## More like this |

File not found on link.

Shame because I use the angle&distance plugin all the time, would be good to promote this plug in more. Were you the original creator?

(There was a server error with the file. Fixed; try downloading again.)

ok thanks Steve.

Excellent composition much thanks, the javascript is very useful. But begs the question isn't it more efficient to use the angle&distant plugin rather than a javascript patch

Angle&distance plugin by @zanroversi http://kineme.net/forum/Woodshed/TableTennis

Or the other way round, with 2 math patches.

Angle : atan2((x1-x2),(y1-y2))

Distance : sqrt((x1-x2)^2+(y1-y2)^2)

Side note, the atan2 function returns angle from the vertical axis. http://en.wikipedia.org/wiki/Atan2