avinationmerge
UbitUmarov 2012-04-27 09:23:20 +01:00
parent cadbfcc011
commit 1c735facee
1 changed files with 11 additions and 13 deletions

View File

@ -378,8 +378,6 @@ namespace OpenSim.Region.Physics.OdePlugin
{ {
get { return _position; } get { return _position; }
set set
{
if (Body == IntPtr.Zero || Shell == IntPtr.Zero)
{ {
if (value.IsFinite()) if (value.IsFinite())
{ {
@ -399,7 +397,6 @@ namespace OpenSim.Region.Physics.OdePlugin
} }
} }
} }
}
public override Vector3 RotationalVelocity public override Vector3 RotationalVelocity
{ {
@ -1248,6 +1245,7 @@ namespace OpenSim.Region.Physics.OdePlugin
d.BodySetPosition(Body, newPos.X, newPos.Y, newPos.Z); d.BodySetPosition(Body, newPos.X, newPos.Y, newPos.Z);
_position = newPos; _position = newPos;
m_pidControllerActive = true; m_pidControllerActive = true;
m_log.DebugFormat("[ode character new position] {0}", newPos);
} }
private void changeOrientation(Quaternion newOri) private void changeOrientation(Quaternion newOri)