mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
zero out SP velocity before calling SP.Teleport(), as the client expects (though this is also effectively done by physics at the moment)
This commit is contained in:
@@ -215,6 +215,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())
|
||||
|
||||
Reference in New Issue
Block a user