diff options
author | Robert Adams | 2013-08-07 07:54:47 -0700 |
---|---|---|
committer | Robert Adams | 2013-09-11 09:11:36 -0700 |
commit | 48ee73bfa771de64685a694417b34188f0a3350e (patch) | |
tree | c392992c72b4c5facdba20f6e175881850a9bd56 /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | |
parent | BulletSim: fixes for change linkset implementation of physical linksets. (diff) | |
download | opensim-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.cs | 8 |
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 | ||
442 | public abstract bool SetBreakingImpulseThreshold(BulletConstraint constrain, float threshold); | 442 | public abstract bool SetBreakingImpulseThreshold(BulletConstraint constrain, float threshold); |
443 | 443 | ||
444 | public abstract bool SpringEnable(BulletConstraint constrain, int index, float numericTrueFalse); | ||
445 | |||
446 | public abstract bool SpringSetEquilibriumPoint(BulletConstraint constrain, int index, float equilibriumPoint); | ||
447 | |||
448 | public abstract bool SpringSetStiffness(BulletConstraint constrain, int index, float stiffnesss); | ||
449 | |||
450 | public abstract bool SpringSetDamping(BulletConstraint constrain, int index, float damping); | ||
451 | |||
444 | public abstract bool CalculateTransforms(BulletConstraint constrain); | 452 | public abstract bool CalculateTransforms(BulletConstraint constrain); |
445 | 453 | ||
446 | public abstract bool SetConstraintParam(BulletConstraint constrain, ConstraintParams paramIndex, float value, ConstraintParamAxis axis); | 454 | public abstract bool SetConstraintParam(BulletConstraint constrain, ConstraintParams paramIndex, float value, ConstraintParamAxis axis); |