mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
test
This commit is contained in:
@@ -1104,9 +1104,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
CheckLandingPoint(ref newpos);
|
||||
AbsolutePosition = newpos;
|
||||
|
||||
|
||||
m_log.DebugFormat("[avnLocalTeleport] to {0} {1} init rotation {2}", newpos, rotateToVelXY,Rotation);
|
||||
|
||||
if (newvel.HasValue)
|
||||
{
|
||||
if ((Vector3)newvel == Vector3.Zero)
|
||||
|
||||
@@ -1004,13 +1004,13 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
}
|
||||
else
|
||||
{
|
||||
breakfactor = 5f * m_mass;
|
||||
breakfactor = m_mass;
|
||||
vec.X -= breakfactor * vel.X;
|
||||
vec.Y -= breakfactor * vel.Y;
|
||||
if (flying)
|
||||
vec.Z -= breakfactor * vel.Z;
|
||||
else
|
||||
vec.Z -= 2f* m_mass * vel.Z;
|
||||
vec.Z -= .5f* m_mass * vel.Z;
|
||||
}
|
||||
|
||||
if (flying)
|
||||
|
||||
Reference in New Issue
Block a user