mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Experimental change of PhysicsVector to Vector3. Untested
This commit is contained in:
@@ -264,10 +264,8 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
avatar.ControllingClient.SendAlertMessage(
|
||||
"You are not allowed on this parcel because you are banned. Please go away.");
|
||||
|
||||
avatar.PhysicsActor.Position =
|
||||
new PhysicsVector(avatar.lastKnownAllowedPosition.X, avatar.lastKnownAllowedPosition.Y,
|
||||
avatar.lastKnownAllowedPosition.Z);
|
||||
avatar.PhysicsActor.Velocity = new PhysicsVector(0, 0, 0);
|
||||
avatar.PhysicsActor.Position = avatar.lastKnownAllowedPosition;
|
||||
avatar.PhysicsActor.Velocity = Vector3.Zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user