Change to earlier commit for TargetVelocity to support distributed physics.

integration
Dan Lake 2012-11-02 03:07:53 -07:00 committed by Dan Lake
parent ce7beb6f20
commit 2e106cd5de
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/*
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
@ -523,7 +523,7 @@ namespace OpenSim.Region.Framework.Scenes
{
if (PhysicsActor != null)
{
m_velocity = PhysicsActor.TargetVelocity;
m_velocity = PhysicsActor.Velocity;
// m_log.DebugFormat(
// "[SCENE PRESENCE]: Set velocity {0} for {1} in {2} via getting Velocity!",
@ -538,7 +538,7 @@ namespace OpenSim.Region.Framework.Scenes
{
try
{
PhysicsActor.Velocity = value;
PhysicsActor.TargetVelocity = value;
}
catch (Exception e)
{