20 lines
596 B
HTML
20 lines
596 B
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>follow.ego</TITLE></HEAD>
|
|
<BODY>
|
|
<h1>follow.ego</h1>
|
|
<B>Category</B><p>
|
|
<a href="object_commands.html">Object/view commands</a><p>
|
|
<B>Syntax</B><p>
|
|
<p>
|
|
follow.ego(oA,STEPSIZE,fDONEFLAG);<p>
|
|
<B>Description</B><p>
|
|
<p>
|
|
Object oA moves towards ego (object 0) by STEPSIZE pixels every step. When the object is within STEPSIZE pixels of ego, it stops moving and flag fDONEFLAG is set. If STEPSIZE is 0, the current step
|
|
size of object oA is used.
|
|
<p>
|
|
<B>See also</B><p>
|
|
<a href="step_size.html">step.size</a><p>
|
|
<a href="moving_objects.html">Moving objects</a><p>
|
|
</BODY></HTML>
|