n llPushObject if pushed object is a avatar use its rotation, not pusher

rotation
avinationmerge
UbitUmarov 2014-11-14 06:28:48 +00:00
parent c80e3dd2e0
commit 140c0b3bb8
1 changed files with 2 additions and 1 deletions

View File

@ -5081,7 +5081,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
if (local != 0) 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); pa.AddForce(applied_linear_impulse, true);