aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs
diff options
context:
space:
mode:
authorRobert Adams2012-10-26 13:47:28 -0700
committerRobert Adams2012-11-03 21:12:54 -0700
commitb83449ae9ad3073abaa06167a99c47943c3199c2 (patch)
treed91bf2a440a148c5d4ad1755939f04136b128e4a /OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs
parentBulletSim: Add banking and other new code to vechile dynamics. Add third part... (diff)
downloadopensim-SC-b83449ae9ad3073abaa06167a99c47943c3199c2.zip
opensim-SC-b83449ae9ad3073abaa06167a99c47943c3199c2.tar.gz
opensim-SC-b83449ae9ad3073abaa06167a99c47943c3199c2.tar.bz2
opensim-SC-b83449ae9ad3073abaa06167a99c47943c3199c2.tar.xz
BulletSim: correct spelling of Bullet call. It's 'swept' not 'sweep'.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs b/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs
index 310df3d..ecb3ec8 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BS6DofConstraint.cs
@@ -135,7 +135,11 @@ public sealed class BS6DofConstraint : BSConstraint
135 bool ret = false; 135 bool ret = false;
136 float onOff = enable ? ConfigurationParameters.numericTrue : ConfigurationParameters.numericFalse; 136 float onOff = enable ? ConfigurationParameters.numericTrue : ConfigurationParameters.numericFalse;
137 if (m_enabled) 137 if (m_enabled)
138 {
138 ret = BulletSimAPI.TranslationalLimitMotor2(m_constraint.ptr, onOff, targetVelocity, maxMotorForce); 139 ret = BulletSimAPI.TranslationalLimitMotor2(m_constraint.ptr, onOff, targetVelocity, maxMotorForce);
140 m_world.physicsScene.DetailLog("{0},BS6DOFConstraint,TransLimitMotor,enable={1},vel={2},maxForce={3}",
141 BSScene.DetailLogZero, enable, targetVelocity, maxMotorForce);
142 }
139 return ret; 143 return ret;
140 } 144 }
141 145