diff options
author | Teravus Ovares | 2008-12-14 14:30:28 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-12-14 14:30:28 +0000 |
commit | 8ad6f575ebc23f0c7b282b9ec2543bce26287e54 (patch) | |
tree | ab424abb19a070cce386a5013b3d5452dbdf9bc2 /OpenSim/Region/Physics/POSPlugin/POSPrim.cs | |
parent | Added ATTACH_HUD_* constants fixes Mantis #2823 (diff) | |
download | opensim-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.cs | 10 |
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 | } |