mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Scripted sit target fixes
This commit is contained in:
@@ -1939,7 +1939,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Quaternion nrot = avSitOrientation;
|
||||
if (!part.IsRoot)
|
||||
{
|
||||
nrot = nrot * part.RotationOffset;
|
||||
nrot = part.RotationOffset * avSitOrientation;
|
||||
}
|
||||
sitOrientation = nrot; // Change rotatione to the scripted one
|
||||
OffsetRotation = nrot;
|
||||
|
||||
Reference in New Issue
Block a user