diff options
author | UbitUmarov | 2012-07-10 05:28:47 +0100 |
---|---|---|
committer | UbitUmarov | 2012-07-10 05:28:47 +0100 |
commit | 652ac5f66bacb048628bc953497ffe4256676f05 (patch) | |
tree | f8e76c2dfca00d4dcd7168258c109f1c3a64a23c /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | let rotationVelocity or AngularVelocity be setted on prims. Limited to (diff) | |
download | opensim-SC-652ac5f66bacb048628bc953497ffe4256676f05.zip opensim-SC-652ac5f66bacb048628bc953497ffe4256676f05.tar.gz opensim-SC-652ac5f66bacb048628bc953497ffe4256676f05.tar.bz2 opensim-SC-652ac5f66bacb048628bc953497ffe4256676f05.tar.xz |
more work on llSetAngularVelocity()
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 0ee2748..cae7343 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2597,12 +2597,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2597 | return new LSL_Vector(m_host.Acceleration.X, m_host.Acceleration.Y, m_host.Acceleration.Z); | 2597 | return new LSL_Vector(m_host.Acceleration.X, m_host.Acceleration.Y, m_host.Acceleration.Z); |
2598 | } | 2598 | } |
2599 | 2599 | ||
2600 | |||
2601 | public void llSetAngularVelocity(LSL_Vector avel, int local) | 2600 | public void llSetAngularVelocity(LSL_Vector avel, int local) |
2602 | { | 2601 | { |
2603 | m_host.AddScriptLPS(1); | 2602 | m_host.AddScriptLPS(1); |
2604 | // Still not done !!!! | 2603 | m_host.SetAngularVelocity(new Vector3((float)avel.x, (float)avel.y, (float)avel.z), local != 0); |
2605 | // m_host.SetAngularVelocity(new Vector3((float)avel.x, (float)avel.y, (float)avel.z), local != 0); | ||
2606 | } | 2604 | } |
2607 | 2605 | ||
2608 | public LSL_Vector llGetOmega() | 2606 | public LSL_Vector llGetOmega() |