aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Helpers.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs
index df9c13a..eba2116 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs
@@ -222,7 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
222 part.AbsolutePosition.Y, 222 part.AbsolutePosition.Y,
223 part.AbsolutePosition.Z); 223 part.AbsolutePosition.Z);
224 224
225 Quaternion wr = part.GetWorldRotation(); 225 Quaternion wr = part.ParentGroup.GroupRotation;
226 Rotation = new LSL_Types.Quaternion(wr.X, wr.Y, wr.Z, wr.W); 226 Rotation = new LSL_Types.Quaternion(wr.X, wr.Y, wr.Z, wr.W);
227 227
228 Velocity = new LSL_Types.Vector3(part.Velocity.X, 228 Velocity = new LSL_Types.Vector3(part.Velocity.X,