unreal.HairSimulationConstraints

class unreal.HairSimulationConstraints(bend_damping: float = 0.0, bend_stiffness: float = 0.0, stretch_damping: float = 0.0, stretch_stiffness: float = 0.0, static_friction: float = 0.0, kinetic_friction: float = 0.0, strands_viscosity: float = 0.0, collision_radius: float = 0.0)

Bases: StructBase

Hair Simulation Constraints

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetPhysics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bend_damping (float): [Read-Write] Damping for the bend constraint between 0 and 1

  • bend_stiffness (float): [Read-Write] Stiffness for the bend constraint in GPa

  • collision_radius (float): [Read-Write] Radius that will be used for the collision detection against the physics asset

  • kinetic_friction (float): [Read-Write] Kinetic friction used for collision against the physics asset

  • static_friction (float): [Read-Write] Static friction used for collision against the physics asset

  • strands_viscosity (float): [Read-Write] Viscosity parameter between 0 and 1 that will be used for self collision

  • stretch_damping (float): [Read-Write] Damping for the stretch constraint between 0 and 1

  • stretch_stiffness (float): [Read-Write] Stiffness for the stretch constraint in GPa

property bend_damping: float

[Read-Write] Damping for the bend constraint between 0 and 1

Type:

(float)

property bend_stiffness: float

[Read-Write] Stiffness for the bend constraint in GPa

Type:

(float)

property collision_radius: float

[Read-Write] Radius that will be used for the collision detection against the physics asset

Type:

(float)

property kinetic_friction: float

[Read-Write] Kinetic friction used for collision against the physics asset

Type:

(float)

property static_friction: float

[Read-Write] Static friction used for collision against the physics asset

Type:

(float)

property strands_viscosity: float

[Read-Write] Viscosity parameter between 0 and 1 that will be used for self collision

Type:

(float)

property stretch_damping: float

[Read-Write] Damping for the stretch constraint between 0 and 1

Type:

(float)

property stretch_stiffness: float

[Read-Write] Stiffness for the stretch constraint in GPa

Type:

(float)