unreal.HairCollisionConstraint¶
- class unreal.HairCollisionConstraint¶
Bases:
StructBaseHair Collision Constraint
C++ Source:
Plugin: HairStrands
Module: HairStrandsCore
File: GroomAssetPhysics.h
Editor Properties: (see get_editor_property/set_editor_property)
collision_radius(float): [Read-Write] Radius that will be used for the collision detection against the physics assetgrid_dimension(IntVector): [Read-Write] Dimension of the grid used to compute the viscosity forcekinetic_friction(float): [Read-Write] Kinetic friction used for collision against the physics assetproject_collision(bool): [Read-Write] Enable ther projection of the collision constraint after the xpbd loopradius_scale(RuntimeFloatCurve): [Read-Write] This curve determines how much the collision radius will be scaled along each strand.The X axis range is [0,1], 0 mapping the root and 1 the tip
solve_collision(bool): [Read-Write] Enable the solve of the collision constraint during the xpbd loopstatic_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 collision