aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-25 03:36:31 +0000
committerTeravus Ovares2008-03-25 03:36:31 +0000
commita21112cceedfc93840b935feae4ad8725c4afb48 (patch)
tree43efce03cfc00168c04579e1cf3611eebde8ebde /OpenSim/Region/ScriptEngine
parentAdded monodevelop support to runprebuild.sh (diff)
downloadopensim-SC-a21112cceedfc93840b935feae4ad8725c4afb48.zip
opensim-SC-a21112cceedfc93840b935feae4ad8725c4afb48.tar.gz
opensim-SC-a21112cceedfc93840b935feae4ad8725c4afb48.tar.bz2
opensim-SC-a21112cceedfc93840b935feae4ad8725c4afb48.tar.xz
* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
* It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 82d67d4..73d901d 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1097,13 +1097,15 @@ namespace OpenSim.Region.ScriptEngine.Common
1097 public void llMoveToTarget(LSL_Types.Vector3 target, double tau) 1097 public void llMoveToTarget(LSL_Types.Vector3 target, double tau)
1098 { 1098 {
1099 m_host.AddScriptLPS(1); 1099 m_host.AddScriptLPS(1);
1100 NotImplemented("llMoveToTarget"); 1100 m_host.MoveToTarget(new LLVector3((float)target.x, (float)target.y, (float)target.z), (float)tau);
1101 //NotImplemented("llMoveToTarget");
1101 } 1102 }
1102 1103
1103 public void llStopMoveToTarget() 1104 public void llStopMoveToTarget()
1104 { 1105 {
1105 m_host.AddScriptLPS(1); 1106 m_host.AddScriptLPS(1);
1106 NotImplemented("llStopMoveToTarget"); 1107 m_host.StopMoveToTarget();
1108 //NotImplemented("llStopMoveToTarget");
1107 } 1109 }
1108 1110
1109 public void llApplyImpulse(LSL_Types.Vector3 force, int local) 1111 public void llApplyImpulse(LSL_Types.Vector3 force, int local)