TESTING
parent
30ab9647ba
commit
a64a9e48de
|
@ -1111,15 +1111,15 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
if (v.HasValue)
|
||||
{
|
||||
if (PhysicsActor != null) // speedup
|
||||
if (PhysicsActor != null)
|
||||
PhysicsActor.SetMomentum((Vector3)v);
|
||||
Velocity = (Vector3)v;
|
||||
m_velocity = (Vector3)v;
|
||||
}
|
||||
else if (Stopit)
|
||||
{
|
||||
if (PhysicsActor != null) // speedup
|
||||
if (PhysicsActor != null)
|
||||
PhysicsActor.SetMomentum(Vector3.Zero);
|
||||
Velocity = Vector3.Zero; // zero any velocity request
|
||||
m_velocity = Vector3.Zero;
|
||||
}
|
||||
|
||||
SendTerseUpdateToAllClients();
|
||||
|
|
|
@ -1210,6 +1210,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
if (Body != IntPtr.Zero)
|
||||
d.BodySetPosition(Body, newPos.X, newPos.Y, newPos.Z);
|
||||
_position = newPos;
|
||||
m_pidControllerActive = true;
|
||||
}
|
||||
|
||||
private void changeOrientation(Quaternion newOri)
|
||||
|
|
Loading…
Reference in New Issue