Zigzag Sequence: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Created page with "== Origin == While scripting my checkers board, it came around the point where rezzing the pieces was required. As many of you know (or should) a checkers board is somewhat lik…"
(No difference)

Revision as of 12:25, 3 September 2011

Origin

While scripting my checkers board, it came around the point where rezzing the pieces was required. As many of you know (or should) a checkers board is somewhat like quadrant 1 of a coordinate plane, that being said the coordinates must alternate in a sequence (i.e. (0,0), (1,1), (2,0), (3,1)...). Instead of using a static list and inputting 0s and 1s (like you would do with an array or something) I just incorporated a bit of Trig.