Universe.Region.SceneObjectGroup.UpdateSingleRotation C# (CSharp) Method

UpdateSingleRotation() public method

public UpdateSingleRotation ( Quaternion rot, System.Vector3 pos, uint localID ) : void
rot Quaternion
pos System.Vector3
localID uint
return void
        public void UpdateSingleRotation(Quaternion rot, Vector3 pos, uint localID)
        {
            SceneObjectPart part = (SceneObjectPart) GetChildPart(localID);
            if (part != null)
            {
                if (part.UUID == m_rootPart.UUID)
                {
                    UpdateRootRotation(rot);
                    AbsolutePosition = pos;
                }
                else
                {
                    part.StoreUndoState();
                    part.IgnoreUndoUpdate = true;
                    part.UpdateRotation(rot);
                    part.FixOffsetPosition(pos, true);
                    part.IgnoreUndoUpdate = false;
                }
            }
        }

Same methods

SceneObjectGroup::UpdateSingleRotation ( Quaternion rot, uint localID ) : void
SceneObjectGroup