ion object d+1,x#,y#,z#<br>
  if static line of sight(x#,y#,z#,x#,y#-5,z#-1,0.1,0.1)=1 then grav#=grav#*-0.95<br>
 endif<br>
 sync<br>
endwhile<br>
set global shadows off : detach object from static d : delete static objects<br>
end
</pre>
</font>
<!-- See Also -->
<table width="590" cellpadding="3">
<tr><td bgcolor="#0d4283"><font color="#ffffff" size="3"><b>&nbsp;
See also
</b></font></td></tr>
</table>
<font face="Verdana" size="2">
<p>
<a href="..\GameFX.htm">GAMEFX Commands Menu<BR>
</a>
<a href="..\..