diff options
author | Melanie | 2012-12-16 21:19:30 +0000 |
---|---|---|
committer | Melanie | 2012-12-16 21:19:30 +0000 |
commit | 0a876a305c32e52d7d0b437c8246119227fce51c (patch) | |
tree | 59772311fcbaf528749b3b9661b252d99f0776ba /OpenSim/Region/Physics/Manager | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Make WebStatsModule properly handle scenes added or removed after initial sta... (diff) | |
download | opensim-SC-0a876a305c32e52d7d0b437c8246119227fce51c.zip opensim-SC-0a876a305c32e52d7d0b437c8246119227fce51c.tar.gz opensim-SC-0a876a305c32e52d7d0b437c8246119227fce51c.tar.bz2 opensim-SC-0a876a305c32e52d7d0b437c8246119227fce51c.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 5af6373..be36be3 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -333,17 +333,20 @@ namespace OpenSim.Region.Physics.Manager | |||
333 | } | 333 | } |
334 | 334 | ||
335 | /// <summary> | 335 | /// <summary> |
336 | /// Velocity of this actor. | 336 | /// The desired velocity of this actor. |
337 | /// </summary> | 337 | /// </summary> |
338 | /// <remarks> | 338 | /// <remarks> |
339 | /// Setting this provides a target velocity for physics scene updates. | 339 | /// Setting this provides a target velocity for physics scene updates. |
340 | /// Getting this returns the velocity calculated by physics scene updates, using factors such as target velocity, | 340 | /// Getting this returns the last set target. Fetch Velocity to get the current velocity. |
341 | /// time to accelerate and collisions. | ||
342 | /// </remarks> | 341 | /// </remarks> |
342 | protected Vector3 m_targetVelocity; | ||
343 | public virtual Vector3 TargetVelocity | 343 | public virtual Vector3 TargetVelocity |
344 | { | 344 | { |
345 | get { return Velocity; } | 345 | get { return m_targetVelocity; } |
346 | set { Velocity = value; } | 346 | set { |
347 | m_targetVelocity = value; | ||
348 | Velocity = m_targetVelocity; | ||
349 | } | ||
347 | } | 350 | } |
348 | 351 | ||
349 | public abstract Vector3 Velocity { get; set; } | 352 | public abstract Vector3 Velocity { get; set; } |