aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsActor.cs
diff options
context:
space:
mode:
authorDan Lake2012-10-31 17:13:18 -0700
committerDan Lake2012-10-31 17:13:18 -0700
commitffe4d738fbcd27e3c037693ab6812df1d9fbb977 (patch)
treeec94cca05a1d8451d4d43779a1a788b4aeaeb940 /OpenSim/Region/Physics/Manager/PhysicsActor.cs
parentAlso add the additional ScriptException constructor necessary to get [Seriali... (diff)
downloadopensim-SC_OLD-ffe4d738fbcd27e3c037693ab6812df1d9fbb977.zip
opensim-SC_OLD-ffe4d738fbcd27e3c037693ab6812df1d9fbb977.tar.gz
opensim-SC_OLD-ffe4d738fbcd27e3c037693ab6812df1d9fbb977.tar.bz2
opensim-SC_OLD-ffe4d738fbcd27e3c037693ab6812df1d9fbb977.tar.xz
Add TargetVelocity to PhysicsActor interface to support distributed physics. No change to existing functions.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index 0587054..34413e5 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -257,6 +257,12 @@ namespace OpenSim.Region.Physics.Manager
257 /// Getting this returns the velocity calculated by physics scene updates, using factors such as target velocity, 257 /// Getting this returns the velocity calculated by physics scene updates, using factors such as target velocity,
258 /// time to accelerate and collisions. 258 /// time to accelerate and collisions.
259 /// </remarks> 259 /// </remarks>
260 public virtual Vector3 TargetVelocity
261 {
262 get { return Velocity; }
263 set { Velocity = value; }
264 }
265
260 public abstract Vector3 Velocity { get; set; } 266 public abstract Vector3 Velocity { get; set; }
261 267
262 public abstract Vector3 Torque { get; set; } 268 public abstract Vector3 Torque { get; set; }