mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Add TargetVelocity to PhysicsActor interface to support distributed physics. No change to existing functions.
This commit is contained in:
@@ -523,7 +523,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
if (PhysicsActor != null)
|
||||
{
|
||||
m_velocity = PhysicsActor.Velocity;
|
||||
m_velocity = PhysicsActor.TargetVelocity;
|
||||
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE PRESENCE]: Set velocity {0} for {1} in {2} via getting Velocity!",
|
||||
|
||||
Reference in New Issue
Block a user