mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
testing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user