n llPushObject if pushed object is a avatar use its rotation, not pusher
rotationavinationmerge
parent
c80e3dd2e0
commit
140c0b3bb8
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue