Fixing AbsolutePosition to correct llSensor in vehicles
parent
f2dd324bc8
commit
61b7ec5fb5
|
@ -1108,12 +1108,10 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
public Vector3 AbsolutePosition
|
||||
{
|
||||
get {
|
||||
if (IsAttachment)
|
||||
get
|
||||
{
|
||||
return GroupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset);
|
||||
|
||||
// return m_offsetPosition + m_groupPosition; }
|
||||
return m_groupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset) ; } //KF: Rotation was ignored!
|
||||
}
|
||||
}
|
||||
|
||||
public SceneObjectGroup ParentGroup
|
||||
|
|
Loading…
Reference in New Issue