aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletXPlugin
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-08 00:10:40 +0000
committerTeravus Ovares2007-11-08 00:10:40 +0000
commit9e9dad1cde362de093d0d7e6c3e247ff00ceac96 (patch)
tree72b364a18532ee152cfbd72df0158b8a2e001464 /OpenSim/Region/Physics/BulletXPlugin
parentset svn:eol-style (diff)
downloadopensim-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/BulletXPlugin')
-rw-r--r--OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
index efc99e4..cdccc70 100644
--- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
+++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
@@ -643,6 +643,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
643 protected PhysicsVector _size; 643 protected PhysicsVector _size;
644 protected PhysicsVector _acceleration; 644 protected PhysicsVector _acceleration;
645 protected AxiomQuaternion _orientation; 645 protected AxiomQuaternion _orientation;
646 protected PhysicsVector m_rotationalVelocity = PhysicsVector.Zero;
646 protected RigidBody rigidBody; 647 protected RigidBody rigidBody;
647 private Boolean iscolliding = false; 648 private Boolean iscolliding = false;
648 649
@@ -662,6 +663,11 @@ namespace OpenSim.Region.Physics.BulletXPlugin
662 } 663 }
663 } 664 }
664 } 665 }
666 public override PhysicsVector RotationalVelocity
667 {
668 get { return m_rotationalVelocity; }
669 set { m_rotationalVelocity = value; }
670 }
665 public override PhysicsVector Velocity 671 public override PhysicsVector Velocity
666 { 672 {
667 get { return _velocity; } 673 get { return _velocity; }