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/BasicPhysicsPlugin | |
parent | set svn:eol-style (diff) | |
download | opensim-SC_OLD-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.zip opensim-SC_OLD-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.tar.gz opensim-SC_OLD-9e9dad1cde362de093d0d7e6c3e247ff00ceac96.tar.bz2 opensim-SC_OLD-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/BasicPhysicsPlugin')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index 46037df..d5cb99f 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -181,6 +181,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
181 | private PhysicsVector _position; | 181 | private PhysicsVector _position; |
182 | private PhysicsVector _velocity; | 182 | private PhysicsVector _velocity; |
183 | private PhysicsVector _acceleration; | 183 | private PhysicsVector _acceleration; |
184 | private PhysicsVector m_rotationalVelocity = PhysicsVector.Zero; | ||
184 | private bool flying; | 185 | private bool flying; |
185 | private bool iscolliding; | 186 | private bool iscolliding; |
186 | 187 | ||
@@ -190,7 +191,11 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
190 | _position = new PhysicsVector(); | 191 | _position = new PhysicsVector(); |
191 | _acceleration = new PhysicsVector(); | 192 | _acceleration = new PhysicsVector(); |
192 | } | 193 | } |
193 | 194 | public override PhysicsVector RotationalVelocity | |
195 | { | ||
196 | get { return m_rotationalVelocity; } | ||
197 | set { m_rotationalVelocity = value; } | ||
198 | } | ||
194 | public override bool IsPhysical | 199 | public override bool IsPhysical |
195 | { | 200 | { |
196 | get { return false; } | 201 | get { return false; } |