aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
authorRobert Adams2012-12-05 09:27:38 -0800
committerRobert Adams2012-12-06 09:30:28 -0800
commite599a8b2421ab51860c65e49bdfd38fa064fa9b8 (patch)
tree741515c9c443a5ef771dd645cfdd522d4369762e /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
parentfix openjpeg on 64 bit OSX we were pointing to a file taht did not (diff)
downloadopensim-SC_OLD-e599a8b2421ab51860c65e49bdfd38fa064fa9b8.zip
opensim-SC_OLD-e599a8b2421ab51860c65e49bdfd38fa064fa9b8.tar.gz
opensim-SC_OLD-e599a8b2421ab51860c65e49bdfd38fa064fa9b8.tar.bz2
opensim-SC_OLD-e599a8b2421ab51860c65e49bdfd38fa064fa9b8.tar.xz
BulletSim: Vehicle angular vertical attraction works. Other vehicle angular forces commented out for the moment for debugging.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index ea1f71a..e392078 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -1010,6 +1010,9 @@ public sealed class BSPrim : BSPhysObject
1010 }); 1010 });
1011 } 1011 }
1012 // A torque impulse. 1012 // A torque impulse.
1013 // ApplyTorqueImpulse adds torque directly to the angularVelocity.
1014 // AddAngularForce accumulates the force and applied it to the angular velocity all at once.
1015 // Computed as: angularVelocity += impulse * inertia;
1013 public void ApplyTorqueImpulse(OMV.Vector3 impulse, bool inTaintTime) 1016 public void ApplyTorqueImpulse(OMV.Vector3 impulse, bool inTaintTime)
1014 { 1017 {
1015 OMV.Vector3 applyImpulse = impulse; 1018 OMV.Vector3 applyImpulse = impulse;