<?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=LlApplyImpulse</id>
	<title>LlApplyImpulse - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlApplyImpulse"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlApplyImpulse&amp;action=history"/>
	<updated>2026-10-25T11:12:20Z</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=LlApplyImpulse&amp;diff=60&amp;oldid=prev</id>
		<title>Osgridadmin: /* Function: llApplyImpulse( vector force, integer local ); */</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlApplyImpulse&amp;diff=60&amp;oldid=prev"/>
		<updated>2017-12-30T15:55:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Function: llApplyImpulse( vector force, integer local );&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: llApplyImpulse( vector force, integer local );==&lt;br /&gt;
Applies impulse to object&amp;lt;br&amp;gt;&lt;br /&gt;
• vector 	force 	&amp;lt;br&amp;gt;		&lt;br /&gt;
• integer 	local 	– 	boolean, if TRUE, force is treated as a local directional vector instead of region directional vector. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Instantaneous impulse. llSetForce has continuous push. &amp;quot;Instantaneous&amp;quot; seems to mean a one second impulse, as an application of a force (in newtons) equal to the object&amp;#039;s mass (in kg) for one second will accelerate it to a velocity of 1 (in meters per second), which appears to be what happens with this function.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Caveats&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
• Object must be physical. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&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;
//Rez an object, and drop this script in it.&lt;br /&gt;
//This will launch it at the owner.&lt;br /&gt;
default {&lt;br /&gt;
     state_entry() {&lt;br /&gt;
          list p = llGetObjectDetails(llGetOwner(), [OBJECT_POS]);&lt;br /&gt;
          if(p != []) {&lt;br /&gt;
              llSetStatus(STATUS_PHYSICS, TRUE);&lt;br /&gt;
              vector pos = llList2Vector(p, 0);&lt;br /&gt;
              vector direction = llVecNorm(pos - llGetPos());&lt;br /&gt;
              llApplyImpulse(direction * 100, 0);&lt;br /&gt;
          }&lt;br /&gt;
     }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	llApplyRotationalImpulse 			 &amp;lt;br&amp;gt;&lt;br /&gt;
•  	llSetForce 	– 	Set continuous force 	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>