unreal.HairSimulationForces

class unreal.HairSimulationForces(gravity_vector=[0.0, 0.0, - 981.0], air_drag=0.1, air_velocity=[0.0, 0.0, 0.0])

Bases: unreal.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

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

Type

(float)

property air_velocity

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

Type

(Vector)

property gravity_vector

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

Type

(Vector)