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 1bend_stiffness
(float): [Read-Write] Stiffness for the bend constraint in GPacollision_radius
(float): [Read-Write] Radius that will be used for the collision detection against the physics assetkinetic_friction
(float): [Read-Write] Kinetic friction used for collision against the physics assetstatic_friction
(float): [Read-Write] Static friction used for collision against the physics assetstrands_viscosity
(float): [Read-Write] Viscosity parameter between 0 and 1 that will be used for self collisionstretch_damping
(float): [Read-Write] Damping for the stretch constraint between 0 and 1stretch_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 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)