aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
diff options
context:
space:
mode:
authorRobert Adams2013-08-07 07:54:47 -0700
committerRobert Adams2013-09-11 09:11:36 -0700
commit48ee73bfa771de64685a694417b34188f0a3350e (patch)
treec392992c72b4c5facdba20f6e175881850a9bd56 /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs
parentBulletSim: fixes for change linkset implementation of physical linksets. (diff)
downloadopensim-SC_OLD-48ee73bfa771de64685a694417b34188f0a3350e.zip
opensim-SC_OLD-48ee73bfa771de64685a694417b34188f0a3350e.tar.gz
opensim-SC_OLD-48ee73bfa771de64685a694417b34188f0a3350e.tar.bz2
opensim-SC_OLD-48ee73bfa771de64685a694417b34188f0a3350e.tar.xz
BulletSim: add API and calls for spring constraint parameters.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs')
-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);