<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlApplyImpulse</id>
	<title>LlApplyImpulse - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlApplyImpulse"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;action=history"/>
	<updated>2026-06-01T03:38:02Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;diff=334&amp;oldid=prev</id>
		<title>2020年5月18日 (一) 09:08 Wzc</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;diff=334&amp;oldid=prev"/>
		<updated>2020-05-18T09:08:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2020年5月18日 (一) 09:08的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot; &gt;第39行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第39行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/&lt;/ins&gt;pre&amp;gt; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;示例2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;示例2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wzc</name></author>
		
	</entry>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;diff=333&amp;oldid=prev</id>
		<title>2020年5月18日 (一) 09:07 Wzc</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;diff=333&amp;oldid=prev"/>
		<updated>2020-05-18T09:07:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2020年5月18日 (一) 09:07的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot; &gt;第39行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第39行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;示例2&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Make yourself a beer can, drop this script into it, and have some target practice.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Make yourself a beer can, drop this script into it, and have some target practice.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;vector gHome;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;vector gHome;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wzc</name></author>
		
	</entry>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;diff=332&amp;oldid=prev</id>
		<title>Wzc：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名=Function: llApplyImpulse( vector momentum, integer local );  |参数=…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlApplyImpulse&amp;diff=332&amp;oldid=prev"/>
		<updated>2020-05-18T09:00:06Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名=Function: llApplyImpulse( vector momentum, integer local );  |参数=…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名=Function: llApplyImpulse( vector momentum, integer local );&lt;br /&gt;
&lt;br /&gt;
|参数=引用对对象应用脉冲&lt;br /&gt;
|返回值=•矢量动量&lt;br /&gt;
•整数局部-布尔值，如果真动量被视为局部方向向量，如果假动量被视为区域方向向量&lt;br /&gt;
瞬间冲动。llSetForce具有连续推送。”“瞬时”似乎意味着一秒钟的冲量，因为一个力（牛顿）的作用等于物体的质量（千克）持续一秒钟会使其加速到1的速度（米每秒），这似乎就是这个函数所发生的情况。&lt;br /&gt;
&lt;br /&gt;
|注意事项= 只适用于支持物理的对象。&lt;br /&gt;
设置应用于质心的对象上的初始动量。动量是当物体不受其他力（如重力）影响时，获得初始速度运动所需的质量*速度&lt;br /&gt;
动量的大小可以被物体的可用能量缩小。对于重物体，动量的上限为动量=20000。（而不是之前所说的20）。对于快速物体，速度将被限制在202米/秒（因此动量将反映这个上限）&lt;br /&gt;
        &lt;br /&gt;
|示例=&lt;br /&gt;
&amp;lt;pre&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;
 &lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        key ownerKey = llGetOwner();&lt;br /&gt;
        vector ownerPosition = llList2Vector(llGetObjectDetails(ownerKey, [OBJECT_POS]), 0);&lt;br /&gt;
 &lt;br /&gt;
//  if the owner is not in the sim, stop fooling around&lt;br /&gt;
        if (llGetAgentSize(ownerKey) == ZERO_VECTOR)&lt;br /&gt;
            return;&lt;br /&gt;
 &lt;br /&gt;
//  else&lt;br /&gt;
        llSetStatus(STATUS_PHYSICS, TRUE);&lt;br /&gt;
 &lt;br /&gt;
        vector objectPosition = llGetPos();&lt;br /&gt;
        vector direction = llVecNorm(ownerPosition - objectPosition);&lt;br /&gt;
 &lt;br /&gt;
        llApplyImpulse(direction * 100, 0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
Make yourself a beer can, drop this script into it, and have some target practice.&lt;br /&gt;
&lt;br /&gt;
vector gHome;&lt;br /&gt;
integer gHit;&lt;br /&gt;
 &lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    collision_start(integer num)&lt;br /&gt;
    {&lt;br /&gt;
        if (!gHit)&lt;br /&gt;
        {&lt;br /&gt;
            llSetTimerEvent(15.0);&lt;br /&gt;
            gHome = llGetPos();&lt;br /&gt;
            gHit = TRUE;&lt;br /&gt;
        }&lt;br /&gt;
        llSetStatus(STATUS_PHYSICS, TRUE);&lt;br /&gt;
        llTriggerSound(&amp;quot;b90ed62a-2737-b911-bb53-6b9228bbc933&amp;quot;,1.0);&lt;br /&gt;
        llApplyImpulse(llGetMass()*&amp;lt;0,0,5.0&amp;gt;,TRUE);&lt;br /&gt;
        llApplyRotationalImpulse(llGetMass()*&amp;lt;llFrand(1.0),llFrand(1.0),llFrand(1.0)&amp;gt;,TRUE);&lt;br /&gt;
        llResetTime();&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    land_collision(vector where)&lt;br /&gt;
    {&lt;br /&gt;
        if (llGetTime() &amp;lt; 0.5)&lt;br /&gt;
        {&lt;br /&gt;
            llResetTime();&lt;br /&gt;
            llApplyImpulse(llGetMass()*&amp;lt;0,0,llFrand(1.0)&amp;gt;,TRUE);&lt;br /&gt;
            llApplyRotationalImpulse(llGetMass()*&amp;lt;llFrand(1.0),llFrand(1.0),llFrand(1.0)&amp;gt;,TRUE);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    timer()&lt;br /&gt;
    {&lt;br /&gt;
        llSetStatus(STATUS_PHYSICS,FALSE);&lt;br /&gt;
        gHit = FALSE;&lt;br /&gt;
        llSetRegionPos(gHome);  // Send the can home, even if more than 10m away&lt;br /&gt;
        llSetRot(ZERO_ROTATION);&lt;br /&gt;
        llSetTimerEvent(0.0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
// Uselesse script , just to demo that &lt;br /&gt;
// the parameter is a momentum not a force&lt;br /&gt;
// the initial velocity * mass = momentum when there are no other forces ( collisions, gravity )&lt;br /&gt;
// the momentum is not capped to 20&lt;br /&gt;
// momentum may be capped nevertheless because velocity is capped around 200 meters/second ; in this case it will be capped to 200m/s * mass&lt;br /&gt;
 &lt;br /&gt;
 integer tid;&lt;br /&gt;
 vector initPos;&lt;br /&gt;
 vector Impulse;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSetPhysicsMaterial(GRAVITY_MULTIPLIER,0,0,0,0);&lt;br /&gt;
        llSetStatus(STATUS_PHANTOM, TRUE);      &lt;br /&gt;
        llSetStatus(STATUS_PHYSICS, TRUE);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    touch_end(integer n)&lt;br /&gt;
    {&lt;br /&gt;
        tid=llTarget(initPos=llGetPos(),30);&lt;br /&gt;
        llSetStatus(STATUS_PHYSICS, TRUE);&lt;br /&gt;
        Impulse = llGetMass()*&amp;lt;0,0,25&amp;gt;;&lt;br /&gt;
         llOwnerSay(llList2Json(JSON_ARRAY, [ &amp;quot;Setup a Momentum=&amp;quot;, Impulse  ]));&lt;br /&gt;
        llApplyImpulse( Impulse , FALSE);&lt;br /&gt;
    }&lt;br /&gt;
    moving_start()&lt;br /&gt;
    {&lt;br /&gt;
        llOwnerSay(llList2Json(JSON_ARRAY, [ &amp;quot;Velocity= &amp;quot;, llGetVel(), &amp;quot;Force=&amp;quot;,llGetMass()*llGetAccel(), &amp;quot;Momentum=&amp;quot;, llGetVel()*llGetMass()]));&lt;br /&gt;
    } &lt;br /&gt;
    not_at_target()&lt;br /&gt;
    {&lt;br /&gt;
        llSetTimerEvent(0.0);&lt;br /&gt;
        llTargetRemove(tid);&lt;br /&gt;
        llSetStatus(STATUS_PHYSICS, FALSE);&lt;br /&gt;
        llSetRegionPos(initPos);&lt;br /&gt;
 &lt;br /&gt;
    } &lt;br /&gt;
 &lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
// Example of results&lt;br /&gt;
//  [&amp;quot;Setup a Momentum=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, 183.181381&amp;gt;&amp;quot;]&lt;br /&gt;
//  [10:19] Object: [&amp;quot;Velocity=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, 25.000002&amp;gt;&amp;quot;,&amp;quot;Force=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, -0.171902&amp;gt;&amp;quot;,&amp;quot;Momentum=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, 183.181396&amp;gt;&amp;quot;]&lt;br /&gt;
 &lt;br /&gt;
// And for an heavy object, the cap is 20000&lt;br /&gt;
//  [&amp;quot;Setup a Momentum=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, 28244.332031&amp;gt;&amp;quot;]&lt;br /&gt;
//  [11:01] Object: [&amp;quot;Velocity=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, 17.702671&amp;gt;&amp;quot;,&amp;quot;Force=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, -28.363781&amp;gt;&amp;quot;,&amp;quot;Momentum=&amp;quot;,&amp;quot;&amp;lt;0.000000, 0.000000, 20000.005859&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|相关函数= &lt;br /&gt;
&lt;br /&gt;
• [[llApplyRotationalImpulse]]&lt;br /&gt;
&lt;br /&gt;
• [[llSetForce]]–设置连续力&lt;br /&gt;
&lt;br /&gt;
|相关事件= 不可预测性&lt;br /&gt;
取自模拟器用户组/抄本/2012年10月5日&lt;br /&gt;
[16:24]Andrew Linden:llApplyImpulse（）更不可预测&lt;br /&gt;
[16:24]安德鲁·林登：因为它使用了传统的脚本“能源预算”&lt;br /&gt;
[16:25]Andrew Linden:如果脚本对象没有足够的“能量”来执行它想要的脉冲，这将减弱结果&lt;br /&gt;
[16:25]Andrew Linden:而且，llApplyImpulse（）有很大的扭曲潜力&lt;br /&gt;
[16:25]Andrew Linden:所以我们很早以前就以很高的能耗率阻碍了它的发展&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Wzc</name></author>
		
	</entry>
</feed>