OpenSim.Region.Framework.Scenes.ScenePresence.CrossToNewRegion C# (CSharp) Method

CrossToNewRegion() protected method

Moves the agent outside the region bounds Tells neighbor region that we're crossing to it If the neighbor accepts, remove the agent's viewable avatar from this scene set them to a child agent.
protected CrossToNewRegion ( ) : void
return void
        protected void CrossToNewRegion()
        {
            InTransit();
            try
            {
                m_scene.CrossAgentToNewRegion(this, m_physicsActor.Flying);
            }
            catch
            {
                m_scene.CrossAgentToNewRegion(this, false);
            }
        }
ScenePresence