These forums are CLOSED. Please visit the new forums HERE
measuring distance |
|
Nichiren Dinzeo
Registered User
Join date: 14 Feb 2007
Posts: 203
|
10-07-2009 16:43
I would like to start measuring distances traveled as I sail. Any thoughts on how one would start coding something like this?
|
Zorphin Zadark
Registered User
Join date: 29 Nov 2008
Posts: 11
|
10-07-2009 17:54
how about checking the position each time you change direction and then using a bit of trigononmetry to calculate the length of that leg of the trip .....
|
Jesse Barnett
500,000 scoville units
![]() Join date: 21 May 2006
Posts: 4,160
|
10-07-2009 18:27
how about checking the position each time you change direction and then using a bit of trigononmetry to calculate the length of that leg of the trip ..... No trig involved: llVecDist http://lslwiki.net/lslwiki/wakka.php?wakka=llVecDist _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |