test
parent
2006188ee5
commit
8ef7df5a56
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue