diff options
author | Robert Adams | 2012-12-05 09:27:38 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-06 09:30:28 -0800 |
commit | e599a8b2421ab51860c65e49bdfd38fa064fa9b8 (patch) | |
tree | 741515c9c443a5ef771dd645cfdd522d4369762e /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs | |
parent | fix openjpeg on 64 bit OSX we were pointing to a file taht did not (diff) | |
download | opensim-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.cs | 3 |
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; |