diff options
author | Melanie | 2012-07-13 00:01:01 +0200 |
---|---|---|
committer | Melanie | 2012-07-13 00:01:01 +0200 |
commit | 4e97237460028281871d989a1fb833706366301c (patch) | |
tree | d400a26b232c8f32c04452c272543908a3bfcee0 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Use faster any contact point collision detection for Volumedetect, plus (diff) | |
download | opensim-SC-4e97237460028281871d989a1fb833706366301c.zip opensim-SC-4e97237460028281871d989a1fb833706366301c.tar.gz opensim-SC-4e97237460028281871d989a1fb833706366301c.tar.bz2 opensim-SC-4e97237460028281871d989a1fb833706366301c.tar.xz |
Revert " lltargetomega efective spinrate now multiplied by gain ( need check )"
Undo figuring gain into spinrate in llTargetOmega. In SL, gain has null
effect on nonphysical spinning objects.
This reverts commit df55de5b3d88e241f35217d5c08d02b921991513.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ca62bac..d2dab6f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3822,7 +3822,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3822 | 3822 | ||
3823 | protected void TargetOmega(SceneObjectPart part, LSL_Vector axis, double spinrate, double gain) | 3823 | protected void TargetOmega(SceneObjectPart part, LSL_Vector axis, double spinrate, double gain) |
3824 | { | 3824 | { |
3825 | spinrate *= gain; | ||
3826 | part.UpdateAngularVelocity(new Vector3((float)(axis.x * spinrate), (float)(axis.y * spinrate), (float)(axis.z * spinrate))); | 3825 | part.UpdateAngularVelocity(new Vector3((float)(axis.x * spinrate), (float)(axis.y * spinrate), (float)(axis.z * spinrate))); |
3827 | } | 3826 | } |
3828 | 3827 | ||