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/BulletXPlugin | |
parent | Added ATTACH_HUD_* constants fixes Mantis #2823 (diff) | |
download | opensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.zip opensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.gz opensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.bz2 opensim-SC_OLD-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/BulletXPlugin/BulletXPlugin.cs | 8 |
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 | { |