mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Merge branch 'master' into httptests
This commit is contained in:
@@ -1620,7 +1620,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public void TeleportWithMomentum(Vector3 pos, Vector3? v)
|
||||
{
|
||||
if(!CheckLocalTPLandingPoint(ref pos))
|
||||
return;
|
||||
return;
|
||||
|
||||
if (ParentID != (uint)0)
|
||||
StandUp();
|
||||
@@ -1642,6 +1642,20 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
SendTerseUpdateToAllClients();
|
||||
}
|
||||
|
||||
public void TeleportOnEject(Vector3 pos)
|
||||
{
|
||||
if (ParentID != (uint)0)
|
||||
StandUp();
|
||||
|
||||
bool isFlying = Flying;
|
||||
RemoveFromPhysicalScene();
|
||||
|
||||
AbsolutePosition = pos;
|
||||
|
||||
AddToPhysicalScene(isFlying);
|
||||
SendTerseUpdateToAllClients();
|
||||
}
|
||||
|
||||
public void avnLocalTeleport(Vector3 newpos, Vector3? newvel, bool rotateToVelXY)
|
||||
{
|
||||
if(!CheckLocalTPLandingPoint(ref newpos))
|
||||
|
||||
Reference in New Issue
Block a user