GameSoftBodySettings(bpy_struct)

base class — bpy_struct

class bpy.types.GameSoftBodySettings(bpy_struct)

Soft body simulation settings for an object in the game engine

bending_distance

Bending Constraint Distance

Type

int in [1, 1000], default 0

cluster_iterations

Number of cluster iterations

Type

int in [1, 1000], default 0

cluster_solver_iterations

Cluster solver iterations

Type

int in [1, 1000], default 0

collision_margin

Collision margin for soft body. Small value makes the algorithm unstable

Type

float in [0.01, 1], default 0.0

drift_solver_iterations

Drift solver iterations

Type

int in [0, 1000], default 0

dynamic_friction

Dynamic Friction

Type

float in [0, 1], default 0.0

kahr

Anchors hardness

Type

float in [0, 1], default 0.0

kchr

Rigid contacts hardness

Type

float in [0, 1], default 0.0

kdg

Drag coeffient

Type

float in [0, 1000], default 0.0

kdp

Damping coefficient

Type

float in [0, 1], default 0.0

kkhr

Kinetic contacts hardness

Type

float in [0, 1], default 0.0

klf

Lift coefficient

Type

float in [0, 1000], default 0.0

kpr

Pressure coefficient

Type

float in [-1000, 1000], default 0.0

kshr

Soft contacts hardness

Type

float in [0, 1], default 0.0

ksk_split_cl

Kinetic impulse split

Type

float in [0, 1], default 0.0

kskhr_cl

Soft vs kinetic hardness

Type

float in [0, 1], default 0.0

ksr_split_cl

Rigid impulse split

Type

float in [0, 1], default 0.0

ksrhr_cl

Soft vs rigid hardness

Type

float in [0, 1], default 0.0

kss_split_cl

Soft impulse split

Type

float in [0, 1], default 0.0

ksshr_cl

Soft vs soft hardness

Type

float in [0, 1], default 0.0

kvc

Volume conservation coefficient

Type

float in [0, 1000], default 0.0

kvcf

Velocity correction factor

Type

float in [0, 1], default 0.0

linear_stiffness

Linear stiffness of the soft body links

Type

float in [0, 1], default 0.0

position_solver_iterations

Position solver iterations

Type

int in [1, 1000], default 0

shape_threshold

Shape matching threshold

Type

float in [0, 1], default 0.0

use_bending_constraints

Enable bending constraints

Type

boolean, default False

use_cluster_rigid_to_softbody

Enable cluster collision between soft and rigid body

Type

boolean, default False

use_cluster_soft_to_softbody

Enable cluster collision between soft and soft body

Type

boolean, default False

use_shape_match

Enable soft body shape matching goal

Type

boolean, default False

velocity_solver_iterations

Position solver iterations

Type

int in [0, 1000], default 0

weld_threshold

Welding threshold: distance between nearby vertices to be considered equal => set to 0.0 to disable welding test and speed up scene loading (ok if the mesh has no duplicates)

Type

float in [0, 0.01], default 0.0

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References