mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Change to earlier commit for TargetVelocity to support distributed physics.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user