unreal.ClothConstraintSetup

class unreal.ClothConstraintSetup

Bases: unreal.StructBase

Container for a constraint setup, these can be horizontal, vertical, shear and bend

C++ Source:

  • Module: ClothingSystemRuntime
  • File: ClothingAsset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • compression_limit (float): [Read-Write] The hard limit on how far this constraint can compress
  • stiffness (float): [Read-Write] How stiff this constraint is, this affects how closely it will follow the desired position
  • stiffness_multiplier (float): [Read-Write] A multiplier affecting the above value
  • stretch_limit (float): [Read-Write] The hard limit on how far this constarint can stretch