zero out SP velocity before calling SP.Teleport(), as the client expects (though this is also effectively done by physics at the moment)
parent
b3307850ab
commit
675c208c7e
|
@ -210,6 +210,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
|||
sp.ControllingClient.SendTeleportStart(teleportFlags);
|
||||
|
||||
sp.ControllingClient.SendLocalTeleport(position, lookAt, teleportFlags);
|
||||
sp.Velocity = Vector3.Zero;
|
||||
sp.Teleport(position);
|
||||
|
||||
foreach (SceneObjectGroup grp in sp.GetAttachments())
|
||||
|
|
Loading…
Reference in New Issue