BulletSoftBodyMaterial

from panda3d.bullet import BulletSoftBodyMaterial
class BulletSoftBodyMaterial

Bases:

Inheritance diagram

Inheritance diagram of BulletSoftBodyMaterial

__init__(param0: BulletSoftBodyMaterial)
property angular_stiffness float

Getter/Setter for the property m_kAST.

static empty() BulletSoftBodyMaterial

Named constructor intended to be used for asserts which have to return a concrete value.

get_angular_stiffness() float

Getter for the property m_kAST.

get_linear_stiffness() float

Getter for the property m_kLST.

get_volume_preservation() float

Getter for the property m_kVST.

property linear_stiffness float
Getter

Getter for the property m_kLST.

Setter

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.

set_angular_stiffness(value: float)

Setter for the property m_kAST.

set_linear_stiffness(value: float)

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.

set_volume_preservation(value: float)

Setter for the property m_kVST.

property volume_preservation float

Getter/Setter for the property m_kVST.