* Fixed up some documentation
* Should help the sinking feeling when new avatar arrive in the scene.0.6.0-stable
parent
24d7b1e225
commit
899f00b83d
|
@ -704,7 +704,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
_zeroFlag = false;
|
||||
if (m_iscolliding && !flying)
|
||||
{
|
||||
// We're flying and colliding with something
|
||||
// We're standing on something
|
||||
vec.X = ((_target_velocity.X / movementdivisor) - vel.X) * (PID_D);
|
||||
vec.Y = ((_target_velocity.Y / movementdivisor) - vel.Y) * (PID_D);
|
||||
}
|
||||
|
@ -716,7 +716,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
}
|
||||
else if (!m_iscolliding && flying)
|
||||
{
|
||||
// We're flying and colliding with something
|
||||
// we're in mid air suspended
|
||||
vec.X = ((_target_velocity.X / movementdivisor) - vel.X) * (PID_D/6);
|
||||
vec.Y = ((_target_velocity.Y / movementdivisor) - vel.Y) * (PID_D/6);
|
||||
}
|
||||
|
|
|
@ -1537,11 +1537,11 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
|
||||
while (step_time > 0.0f)
|
||||
{
|
||||
lock (ode)
|
||||
{
|
||||
if (!ode.lockquery())
|
||||
{
|
||||
ode.dlock(world);
|
||||
//lock (ode)
|
||||
//{
|
||||
//if (!ode.lockquery())
|
||||
//{
|
||||
// ode.dlock(world);
|
||||
try
|
||||
{
|
||||
lock (_characters)
|
||||
|
@ -1605,12 +1605,12 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
|
||||
step_time -= ODE_STEPSIZE;
|
||||
i++;
|
||||
}
|
||||
else
|
||||
{
|
||||
fps = 0;
|
||||
}
|
||||
}
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
//fps = 0;
|
||||
//}
|
||||
//}
|
||||
}
|
||||
|
||||
lock (_characters)
|
||||
|
|
Loading…
Reference in New Issue