aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
diff options
context:
space:
mode:
authorRobert Adams2013-08-07 07:54:47 -0700
committerJustin Clark-Casey (justincc)2013-09-20 21:01:44 +0100
commit0acde92af969b3251aec95e4ea08d618da39d184 (patch)
tree885ab6fe19096dbceb2e0266824699dd00b0875f /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
parentBulletSim: fixes for change linkset implementation of physical linksets. (diff)
downloadopensim-SC_OLD-0acde92af969b3251aec95e4ea08d618da39d184.zip
opensim-SC_OLD-0acde92af969b3251aec95e4ea08d618da39d184.tar.gz
opensim-SC_OLD-0acde92af969b3251aec95e4ea08d618da39d184.tar.bz2
opensim-SC_OLD-0acde92af969b3251aec95e4ea08d618da39d184.tar.xz
BulletSim: add API and calls for spring constraint parameters.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
index 6cdc112..8cca29f 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
@@ -441,6 +441,14 @@ public abstract bool TranslationalLimitMotor(BulletConstraint constrain, float e
441 441
442public abstract bool SetBreakingImpulseThreshold(BulletConstraint constrain, float threshold); 442public abstract bool SetBreakingImpulseThreshold(BulletConstraint constrain, float threshold);
443 443
444public abstract bool SpringEnable(BulletConstraint constrain, int index, float numericTrueFalse);
445
446public abstract bool SpringSetEquilibriumPoint(BulletConstraint constrain, int index, float equilibriumPoint);
447
448public abstract bool SpringSetStiffness(BulletConstraint constrain, int index, float stiffnesss);
449
450public abstract bool SpringSetDamping(BulletConstraint constrain, int index, float damping);
451
444public abstract bool CalculateTransforms(BulletConstraint constrain); 452public abstract bool CalculateTransforms(BulletConstraint constrain);
445 453
446public abstract bool SetConstraintParam(BulletConstraint constrain, ConstraintParams paramIndex, float value, ConstraintParamAxis axis); 454public abstract bool SetConstraintParam(BulletConstraint constrain, ConstraintParams paramIndex, float value, ConstraintParamAxis axis);