mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
* Fixed up some documentation
* Should help the sinking feeling when new avatar arrive in the scene.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user