home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 51
/
PCGamer51_17Demos.iso
/
games
/
colobotdemo
/
colobotdemo10e.exe
/
help
/
cbot
/
direct.txt
< prev
next >
Wrap
Text File
|
2001-06-28
|
506b
|
16 lines
\b;Instruction \c;direction\n;
Syntax :
\s;\c;direction ( pos );\n;
Calculates the rotation that a robot must perform in order to point toward a given position.
\t;pos: \c;\l;point\u cbot\point;\n;
Position toward which the robot must point.
\t;Return value: \c;\l;float\u cbot\float;\n;
Angle of the rotation that must be performed. -90 means f. ex. a rotation of 90 degrees to the right.
\t;See also
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.