aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletXPlugin
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-14 14:30:28 +0000
committerTeravus Ovares2008-12-14 14:30:28 +0000
commit8ad6f575ebc23f0c7b282b9ec2543bce26287e54 (patch)
treeab424abb19a070cce386a5013b3d5452dbdf9bc2 /OpenSim/Region/Physics/BulletXPlugin
parentAdded ATTACH_HUD_* constants fixes Mantis #2823 (diff)
downloadopensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.zip
opensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.gz
opensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.bz2
opensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.xz
* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ODEPlugin and pipes them to their respective LSL method.
* NBody will need to be updated, this is an API change. Torque property and AddAngularForce
Diffstat (limited to 'OpenSim/Region/Physics/BulletXPlugin')
-rw-r--r--OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
index 20c556f..4f1afdd 100644
--- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
+++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs
@@ -1134,6 +1134,14 @@ namespace OpenSim.Region.Physics.BulletXPlugin
1134 public override void AddForce(PhysicsVector force, bool pushforce) 1134 public override void AddForce(PhysicsVector force, bool pushforce)
1135 { 1135 {
1136 } 1136 }
1137 public override PhysicsVector Torque
1138 {
1139 get { return PhysicsVector.Zero; }
1140 set { return; }
1141 }
1142 public override void AddAngularForce(PhysicsVector force, bool pushforce)
1143 {
1144 }
1137 1145
1138 public override void SetMomentum(PhysicsVector momentum) 1146 public override void SetMomentum(PhysicsVector momentum)
1139 { 1147 {