diff options
author | UbitUmarov | 2014-11-14 06:28:48 +0000 |
---|---|---|
committer | UbitUmarov | 2014-11-14 06:28:48 +0000 |
commit | 140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c (patch) | |
tree | af29de077f469f5c0c79044125a88c49d58736dc /OpenSim | |
parent | Merge branch 'avination-current' (diff) | |
download | opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.zip opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.tar.gz opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.tar.bz2 opensim-SC-140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c.tar.xz |
n llPushObject if pushed object is a avatar use its rotation, not pusher
rotation
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 |
1 files changed, 2 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 eb6cf23..702993b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5081,7 +5081,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5081 | { | 5081 | { |
5082 | if (local != 0) | 5082 | if (local != 0) |
5083 | { | 5083 | { |
5084 | applied_linear_impulse *= m_host.GetWorldRotation(); | 5084 | // applied_linear_impulse *= m_host.GetWorldRotation(); |
5085 | applied_linear_impulse *= pusheeav.GetWorldRotation(); | ||
5085 | } | 5086 | } |
5086 | 5087 | ||
5087 | pa.AddForce(applied_linear_impulse, true); | 5088 | pa.AddForce(applied_linear_impulse, true); |