aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-10 14:14:44 +0000
committerTeravus Ovares2008-03-10 14:14:44 +0000
commitf46fcbb9d20525d1b0910ace02558bd54b31bd56 (patch)
tree5efbaf8b2222b5b66448c087dd06a20f054bfe19 /OpenSim/Region/ScriptEngine
parentODEPlugin (diff)
downloadopensim-SC_OLD-f46fcbb9d20525d1b0910ace02558bd54b31bd56.zip
opensim-SC_OLD-f46fcbb9d20525d1b0910ace02558bd54b31bd56.tar.gz
opensim-SC_OLD-f46fcbb9d20525d1b0910ace02558bd54b31bd56.tar.bz2
opensim-SC_OLD-f46fcbb9d20525d1b0910ace02558bd54b31bd56.tar.xz
* Added Linear Acceleration reporting to the ODEPlugin.
* Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 623ac29..b744ee4 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -1163,8 +1163,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1163 public LSL_Types.Vector3 llGetOmega() 1163 public LSL_Types.Vector3 llGetOmega()
1164 { 1164 {
1165 m_host.AddScriptLPS(1); 1165 m_host.AddScriptLPS(1);
1166 NotImplemented("llGetOmega"); 1166 return new LSL_Types.Vector3(m_host.RotationalVelocity.X, m_host.RotationalVelocity.Y, m_host.RotationalVelocity.Z);
1167 return new LSL_Types.Vector3();
1168 } 1167 }
1169 1168
1170 public double llGetTimeOfDay() 1169 public double llGetTimeOfDay()