BulletSoftBodyMaterial
-
class BulletSoftBodyMaterial
Inheritance diagram
-
BulletSoftBodyMaterial(BulletSoftBodyMaterial const&) = default
-
BulletSoftBodyMaterial empty(void)
Named constructor intended to be used for asserts which have to return a concrete value.
-
PN_stdfloat get_angular_stiffness(void) const
Getter for the property m_kAST.
-
PN_stdfloat get_linear_stiffness(void) const
Getter for the property m_kLST.
-
PN_stdfloat get_volume_preservation(void) const
Getter for the property m_kVST.
-
void set_angular_stiffness(PN_stdfloat value)
Setter for the property m_kAST.
-
void set_linear_stiffness(PN_stdfloat value)
Sets the linear stiffness coefficient (m_kLST) for the material.
Value is a coefficient in the range (0, 1], where 1 is maximally stiff and values approaching 0 are maximally compliant. Values above 1 make the solver over-correct each step, causing the softbody to diverge.
-
void set_volume_preservation(PN_stdfloat value)
Setter for the property m_kVST.
-
BulletSoftBodyMaterial(BulletSoftBodyMaterial const&) = default
