* Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves velocity.

This commit is contained in:
Adam Frisby
2009-05-12 21:21:33 +00:00
parent 9f5679e60f
commit 3a28f748d5
2 changed files with 19 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
public Vector3 WorldPosition
{
get { return GetSP().AbsolutePosition; }
set { GetSP().AbsolutePosition = value; }
set { GetSP().TeleportWithMomentum(value); }
}
}
}