parent
e53596f607
commit
750f75c514
|
@ -304,7 +304,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
}
|
||||
if (m_wascolliding != m_iscolliding)
|
||||
{
|
||||
//base.SendCollisionUpdate(new CollisionEventUpdate());
|
||||
base.SendCollisionUpdate(new CollisionEventUpdate());
|
||||
}
|
||||
m_wascolliding = m_iscolliding;
|
||||
}
|
||||
|
@ -358,7 +358,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
}
|
||||
if (m_wascollidingGround != m_iscollidingGround)
|
||||
{
|
||||
//base.SendCollisionUpdate(new CollisionEventUpdate());
|
||||
base.SendCollisionUpdate(new CollisionEventUpdate());
|
||||
}
|
||||
m_wascollidingGround = m_iscollidingGround;
|
||||
}
|
||||
|
@ -755,10 +755,10 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
m_pidControllerActive = false;
|
||||
force *= 100f;
|
||||
doForce(force);
|
||||
//m_log.Debug("Push!");
|
||||
//_target_velocity.X += force.X;
|
||||
// _target_velocity.Y += force.Y;
|
||||
//_target_velocity.Z += force.Z;
|
||||
m_log.Debug("Push!");
|
||||
_target_velocity.X += force.X;
|
||||
_target_velocity.Y += force.Y;
|
||||
_target_velocity.Z += force.Z;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue