aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
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/POSPlugin/POSPrim.cs
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 '')
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSPrim.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/POSPlugin/POSPrim.cs b/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
index fdd095f..bf96c35 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSPrim.cs
@@ -211,6 +211,16 @@ namespace OpenSim.Region.Physics.POSPlugin
211 { 211 {
212 } 212 }
213 213
214 public override void AddAngularForce(PhysicsVector force, bool pushforce)
215 {
216 }
217
218 public override PhysicsVector Torque
219 {
220 get { return PhysicsVector.Zero; }
221 set { return; }
222 }
223
214 public override void SetMomentum(PhysicsVector momentum) 224 public override void SetMomentum(PhysicsVector momentum)
215 { 225 {
216 } 226 }