diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 6 |
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; } |