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] Bend Damping: Damping for the bend constraint between 0 and 1

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

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

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

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

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

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

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

property bend_damping: float

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

Type:

(float)

property bend_stiffness: float

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

Type:

(float)

property collision_radius: float

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

Type:

(float)

property kinetic_friction: float

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

Type:

(float)

property static_friction: float

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

Type:

(float)

property strands_viscosity: float

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

Type:

(float)

property stretch_damping: float

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

Type:

(float)

property stretch_stiffness: float

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

Type:

(float)