add missing file. Also in last commit comment the flag was relative to (un)freeze no t(un)eject

BulletSim2017
UbitUmarov 2017-08-24 01:38:04 +01:00
parent 74524cb3be
commit 1a7c8893ee
1 changed files with 16 additions and 2 deletions

View File

@ -1642,6 +1642,20 @@ namespace OpenSim.Region.Framework.Scenes
SendTerseUpdateToAllClients(); 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) public void avnLocalTeleport(Vector3 newpos, Vector3? newvel, bool rotateToVelXY)
{ {
if(!CheckLocalTPLandingPoint(ref newpos)) if(!CheckLocalTPLandingPoint(ref newpos))