testing
parent
911bc81b00
commit
76d9040ed4
|
@ -1113,7 +1113,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
if (PhysicsActor != null)
|
||||
PhysicsActor.SetMomentum((Vector3)v);
|
||||
m_velocity = (Vector3)v;
|
||||
// m_velocity = (Vector3)v;
|
||||
}
|
||||
else if (Stopit)
|
||||
{
|
||||
|
|
|
@ -1273,7 +1273,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
private void changeMomentum(Vector3 newmomentum)
|
||||
{
|
||||
_velocity = newmomentum;
|
||||
_target_velocity = newmomentum;
|
||||
_target_velocity = Vector3.Zero;
|
||||
m_pidControllerActive = true;
|
||||
m_colliderfilter = 0;
|
||||
m_colliderObjectfilter = 0;
|
||||
|
|
Loading…
Reference in New Issue