btGeneric6DofSpring2Constraint_setStiffness

A function defined in GMBullet.yy

btGeneric6DofSpring2Constraint_setStiffness(generic6DofSpring2Constraint, index, stiffness[, limitIfNeeded])

Description

Sets the stiffness for the spring of the specified rotational degree of freedom in the btGeneric6DofSpring2Constraint.

Arguments

Name Type Description
generic6DofSpring2Constraint Pointer A pointer to the btGeneric6DofSpring2Constraint.
index Real The index of the rotational degree of freedom.
stiffness Real The stiffness to set.
limitIfNeeded Bool True to limit the stiffness if needed. Defaults to true.

Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.