diff options
author | Robert Adams | 2013-08-07 07:54:47 -0700 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-20 21:01:44 +0100 |
commit | 0acde92af969b3251aec95e4ea08d618da39d184 (patch) | |
tree | 885ab6fe19096dbceb2e0266824699dd00b0875f /OpenSim/Region/Physics/BulletSPlugin/BSApiTemplate.cs | |
parent | BulletSim: fixes for change linkset implementation of physical linksets. (diff) | |
download | opensim-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.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); |