BulletSoftBodyMaterial

from acron.bullet import BulletSoftBodyMaterial
class BulletSoftBodyMaterial

Bases:

Inheritance diagram

digraph inheritance453a4a0655 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BulletSoftBodyMaterial" [URL="acron.bullet.BulletSoftBodyMaterial.html#acron.bullet.BulletSoftBodyMaterial",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "BulletSoftBodyMaterial" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; }
__init__()
property angular_stiffness → float

Getter/Setter for the property m_kAST.

static empty()

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

get_angular_stiffness()

Getter for the property m_kAST.

get_linear_stiffness()

Getter for the property m_kLST.

get_volume_preservation()

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()

Setter for the property m_kAST.

set_linear_stiffness()

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()

Setter for the property m_kVST.

property volume_preservation → float

Getter/Setter for the property m_kVST.