unreal.HairSimulationForces

class unreal.HairSimulationForces(gravity_vector: Vector = Ellipsis, air_drag: float = 0.0, air_velocity: Vector = Ellipsis)

Bases: StructBase

Hair Simulation Forces

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetPhysics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • air_drag (float): [Read-Write] Air Drag: Coefficient between 0 and 1 to be used for the air drag

  • air_velocity (Vector): [Read-Write] Air Velocity: Velocity of the surrounding air in cm/s

  • gravity_vector (Vector): [Read-Write] Gravity Vector: Acceleration vector in cm/s2 to be used for the gravity

property air_drag: float

[Read-Write] Air Drag: Coefficient between 0 and 1 to be used for the air drag

Type:

(float)

property air_velocity: Vector

[Read-Write] Air Velocity: Velocity of the surrounding air in cm/s

Type:

(Vector)

property gravity_vector: Vector

[Read-Write] Gravity Vector: Acceleration vector in cm/s2 to be used for the gravity

Type:

(Vector)