Universe.Physics.BulletSPlugin.BSAPIXNA.SpringSetStiffness C# (CSharp) Method

SpringSetStiffness() public method

public SpringSetStiffness ( BulletConstraint pConstraint, int index, float stiffness ) : bool
pConstraint BulletConstraint
index int
stiffness float
return bool
        public override bool SpringSetStiffness(BulletConstraint pConstraint, int index, float stiffness)
        {
            Generic6DofSpringConstraint constraint = (pConstraint as BulletConstraintXNA).constrain as Generic6DofSpringConstraint;
            constraint.SetStiffness(index, stiffness);
            return true;
        }
BSAPIXNA