Difference between revisions of ".eye2dir"

From WikiManual
Jump to: navigation, search
(Turns eye 2 counterclockwise)
 
(Changed so it is similar to page .eye1dir)
Line 1: Line 1:
Turns eye 2 counterclockwise with given amount (at default, eye 2 is at 105 - for reference, eye 5 is at 0).  A full rotation is 1256, and a 90 degree turn counterclockwise is 314. For value n, use should look something like this:
+
Changes direction that eye2 is facing in a counterclockwise direction.
 +
0/1256 is your original heading. 314 .eye2dir store will make eye2 be 90 degrees from original heading. To have it face foward, store 1117.
  
n .eye2dir store
+
'''hint: 314/9 is 10 degrees in radians, and to go clockwise subtract from 1256'''
 
 
This is in memory slot 522 (knowledge of this is not necessary to make any kind of organism - YOU DO NOT NEED TO MEMORIZE THIS NUMBER!).
 

Revision as of 17:51, 16 December 2009

Changes direction that eye2 is facing in a counterclockwise direction. 0/1256 is your original heading. 314 .eye2dir store will make eye2 be 90 degrees from original heading. To have it face foward, store 1117.

hint: 314/9 is 10 degrees in radians, and to go clockwise subtract from 1256