diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 3f5e618..5b92a8d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -776,13 +776,41 @@ namespace OpenSim.Region.Environment.Scenes | |||
776 | public Quaternion SitTargetOrientation | 776 | public Quaternion SitTargetOrientation |
777 | { | 777 | { |
778 | get { return m_sitTargetOrientation; } | 778 | get { return m_sitTargetOrientation; } |
779 | set { m_sitTargetOrientation = value; } | ||
779 | } | 780 | } |
780 | 781 | ||
782 | |||
781 | public Vector3 SitTargetPosition | 783 | public Vector3 SitTargetPosition |
782 | { | 784 | { |
783 | get { return m_sitTargetPosition; } | 785 | get { return m_sitTargetPosition; } |
786 | set { m_sitTargetPosition = value; } | ||
787 | } | ||
788 | |||
789 | // This sort of sucks, but I'm adding these in to make some of | ||
790 | // the mappings more consistant. | ||
791 | public LLVector3 SitTargetPositionLL | ||
792 | { | ||
793 | get { return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y,m_sitTargetPosition.z); } | ||
794 | set { m_sitTargetPosition = new Vector3(value.X, value.Y, value.Z); } | ||
784 | } | 795 | } |
785 | 796 | ||
797 | public LLQuaternion SitTargetOrientationLL | ||
798 | { | ||
799 | get | ||
800 | { | ||
801 | return new LLQuaternion( | ||
802 | m_sitTargetOrientation.x, | ||
803 | m_sitTargetOrientation.y, | ||
804 | m_sitTargetOrientation.z, | ||
805 | m_sitTargetOrientation.w | ||
806 | ); | ||
807 | } | ||
808 | |||
809 | set { m_sitTargetOrientation = new Quaternion(value.X, value.Y, value.Z, value.W); } | ||
810 | } | ||
811 | |||
812 | |||
813 | |||
786 | public bool Stopped | 814 | public bool Stopped |
787 | { | 815 | { |
788 | get { | 816 | get { |