File: set_dir.html

package info (click to toggle)
agistudio 1.2.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,600 kB
  • ctags: 1,506
  • sloc: cpp: 16,676; makefile: 53
file content (21 lines) | stat: -rw-r--r-- 748 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<HTML>
<HEAD>
<TITLE>set.dir</TITLE></HEAD>
<BODY>
<h1>set.dir</h1>
<B>Category</B><p>
<a href="object_commands.html">Object/view commands</a><p>
<B>Syntax</B><p>
<p>
set.dir(oA,vDIR);<p>
<B>Description</B><p>
<p>
The direction of object oA is changed ot vDIR. vDIR must be between 0 and 8:<p>
<img src="logic_diag-directions.png" alt = "" ><p>
You can not set the direction of ego (object 0). Instead, change the value of v6 to the direction you want.<p>
To find out what direction an object is currently travelling in, use the <a href="get_dir.html">get.dir</a> command.<p>
<B>See also</B><p>
<a href="get_dir.html">get.dir</a><p>
<a href="start_motion.html">start.motion</a><p>
<a href="moving_objects.html">Moving objects</a><p>
</BODY></HTML>