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 (in [1, 1000], default 2)
- Type:
int
- cluster_iterations
Number of cluster iterations (in [1, 1000], default 64)
- Type:
int
- cluster_solver_iterations
Cluster solver iterations (in [1, 1000], default 4)
- Type:
int
- collision_margin
Collision margin for soft body. Small value makes the algorithm unstable (in [0.01, 1], default 0.0)
- Type:
float
- drift_solver_iterations
Drift solver iterations (in [0, 1000], default 0)
- Type:
int
- dynamic_friction
Dynamic Friction (in [0, 1], default 0.2)
- Type:
float
- kahr
Anchors hardness (in [0, 1], default 0.7)
- Type:
float
- kchr
Rigid contacts hardness (in [0, 1], default 1.0)
- Type:
float
- kdg
Drag coeffient (in [0, 1000], default 0.0)
- Type:
float
- kdp
Damping coefficient (in [0, 1], default 0.0)
- Type:
float
- kkhr
Kinetic contacts hardness (in [0, 1], default 0.1)
- Type:
float
- klf
Lift coefficient (in [0, 1000], default 0.0)
- Type:
float
- kpr
Pressure coefficient (in [-1000, 1000], default 0.0)
- Type:
float
- kshr
Soft contacts hardness (in [0, 1], default 1.0)
- Type:
float
- ksk_split_cl
Kinetic impulse split (in [0, 1], default 0.5)
- Type:
float
- kskhr_cl
Soft vs kinetic hardness (in [0, 1], default 1.0)
- Type:
float
- ksr_split_cl
Rigid impulse split (in [0, 1], default 0.5)
- Type:
float
- ksrhr_cl
Soft vs rigid hardness (in [0, 1], default 0.1)
- Type:
float
- kss_split_cl
Soft impulse split (in [0, 1], default 0.5)
- Type:
float
- ksshr_cl
Soft vs soft hardness (in [0, 1], default 0.5)
- Type:
float
- kvc
Volume conservation coefficient (in [0, 1000], default 0.0)
- Type:
float
- kvcf
Velocity correction factor (in [0, 1], default 1.0)
- Type:
float
- linear_stiffness
Linear stiffness of the soft body links (in [0, 1], default 0.5)
- Type:
float
- position_solver_iterations
Position solver iterations (in [1, 1000], default 2)
- Type:
int
- shape_threshold
Shape matching threshold (in [0, 1], default 0.05)
- Type:
float
- use_bending_constraints
Enable bending constraints (default True)
- Type:
bool
- use_cluster_rigid_to_softbody
Enable cluster collision between soft and rigid body (default False)
- Type:
bool
- use_cluster_soft_to_softbody
Enable cluster collision between soft and soft body (default False)
- Type:
bool
- use_shape_match
Enable soft body shape matching goal (default True)
- Type:
bool
- velocity_solver_iterations
Position solver iterations (in [0, 1000], default 0)
- Type:
int
- 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) (in [0, 0.01], default 0.0)
- Type:
float
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type