diff options
author | Teravus Ovares | 2007-11-08 00:10:40 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-08 00:10:40 +0000 |
commit | 9e9dad1cde362de093d0d7e6c3e247ff00ceac96 (patch) | |
tree | 72b364a18532ee152cfbd72df0158b8a2e001464 /OpenSim/Region/Physics/Manager | |
parent | set svn:eol-style (diff) | |
download | opensim-SC-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.zip opensim-SC-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.tar.gz opensim-SC-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.tar.bz2 opensim-SC-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.tar.xz |
* Added Rotational Velocity reporting for Client Interpolation to Terse Updates
* Added Angular Velocity reporting for smooth-ish rotations on object collisions
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index b151e16..2d8eb9a 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -36,6 +36,8 @@ namespace OpenSim.Region.Physics.Manager | |||
36 | 36 | ||
37 | public delegate void OrientationUpdate(Quaternion orientation); | 37 | public delegate void OrientationUpdate(Quaternion orientation); |
38 | 38 | ||
39 | |||
40 | |||
39 | public abstract class PhysicsActor | 41 | public abstract class PhysicsActor |
40 | { | 42 | { |
41 | #pragma warning disable 67 | 43 | #pragma warning disable 67 |
@@ -69,6 +71,7 @@ namespace OpenSim.Region.Physics.Manager | |||
69 | public abstract bool Flying { get; set; } | 71 | public abstract bool Flying { get; set; } |
70 | 72 | ||
71 | public abstract bool IsColliding { get; set; } | 73 | public abstract bool IsColliding { get; set; } |
74 | public abstract PhysicsVector RotationalVelocity { get; set; } | ||
72 | 75 | ||
73 | public abstract bool Kinematic { get; set; } | 76 | public abstract bool Kinematic { get; set; } |
74 | 77 | ||
@@ -144,7 +147,11 @@ namespace OpenSim.Region.Physics.Manager | |||
144 | { | 147 | { |
145 | return; | 148 | return; |
146 | } | 149 | } |
147 | 150 | public override PhysicsVector RotationalVelocity | |
151 | { | ||
152 | get { return PhysicsVector.Zero; } | ||
153 | set { return; } | ||
154 | } | ||
148 | public override void SetMomentum(PhysicsVector momentum) | 155 | public override void SetMomentum(PhysicsVector momentum) |
149 | { | 156 | { |
150 | return; | 157 | return; |