<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlDetectedVel</id>
	<title>LlDetectedVel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlDetectedVel"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlDetectedVel&amp;action=history"/>
	<updated>2026-10-25T11:12:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlDetectedVel&amp;diff=101&amp;oldid=prev</id>
		<title>Osgridadmin: Created page with &quot;==Function: vector llDetectedVel( integer number );== Returns a vector that is the velocity of detected object number. &lt;br&gt; • integer 	number 	– 	Index of detection inform...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlDetectedVel&amp;diff=101&amp;oldid=prev"/>
		<updated>2017-12-30T18:01:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Function: vector llDetectedVel( integer number );== Returns a vector that is the velocity of detected object number. &amp;lt;br&amp;gt; • integer 	number 	– 	Index of detection inform...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: vector llDetectedVel( integer number );==&lt;br /&gt;
Returns a vector that is the velocity of detected object number. &amp;lt;br&amp;gt;&lt;br /&gt;
• integer 	number 	– 	Index of detection information 	 &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
number does not support negative indexes. &amp;lt;br&amp;gt;&lt;br /&gt;
Returns &amp;lt;0.0, 0.0, 0.0&amp;gt; if number is not valid sensed object. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Specification&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
[[llDetected]]* functions can be called anywhere but will only return non-default values if called from within Detection events and functions called by Detection events. &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
Caveats &amp;lt;br&amp;gt;&lt;br /&gt;
• Events that enable the llDetected* functions always return at least one detected item. &amp;lt;br&amp;gt;&lt;br /&gt;
-• Detection events are not raised if there is nothing detected (with the slight exception of no_sensor but it doesn&amp;#039;t enable [[llDetected]]* functions). &amp;lt;br&amp;gt;&lt;br /&gt;
-• The event detection count parameter value is initially never less than 1.  &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
//Tells the name and velocity of all near-by avatars.&lt;br /&gt;
default {&lt;br /&gt;
     state_entry() {&lt;br /&gt;
          llSensor(&amp;quot;&amp;quot;, &amp;quot;&amp;quot;, AGENT, 10000, 10000);&lt;br /&gt;
     }&lt;br /&gt;
     sensor(integer num) {&lt;br /&gt;
          integer i = 0;&lt;br /&gt;
          while (i &amp;lt; num) {&lt;br /&gt;
               llOwnerSay(llDetectedName(i) + &amp;quot; is moving at &amp;quot; + (string)llVecMag(llDetectedVel(i)) + &amp;quot; m/s.&amp;quot;);&lt;br /&gt;
               ++i;&lt;br /&gt;
          }&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>