From 140c0b3bb8c81e722f6ead0588fb2cf7c33d1b6c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 14 Nov 2014 06:28:48 +0000 Subject: n llPushObject if pushed object is a avatar use its rotation, not pusher rotation --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { if (local != 0) { - applied_linear_impulse *= m_host.GetWorldRotation(); +// applied_linear_impulse *= m_host.GetWorldRotation(); + applied_linear_impulse *= pusheeav.GetWorldRotation(); } pa.AddForce(applied_linear_impulse, true); -- cgit v1.1