unreal.HairSimulationSetup

class unreal.HairSimulationSetup(reset_simulation: bool = False, debug_simulation: bool = False, local_simulation: bool = False, linear_velocity_scale: float = 0.0, angular_velocity_scale: float = 0.0, local_bone: str = '', teleport_distance: float = 0.0)

Bases: StructBase

Hair Simulation Setup

C++ Source:

  • Plugin: HairStrands

  • Module: HairStrandsCore

  • File: GroomAssetPhysics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_velocity_scale (float): [Read-Write] Angular Velocity Scale: The amount of angular velocities sent to the local groom space from the reference bone

  • debug_simulation (bool): [Read-Write] Debug Simulation: Boolean to make the simulation strands visible

  • linear_velocity_scale (float): [Read-Write] Linear Velocity Scale: The amount of linear velocities sent to the local groom space from the reference bone

  • local_bone (str): [Read-Write] Local Bone: Bone used for the simulation local space

  • local_simulation (bool): [Read-Write] Local Simulation: Strands simulation is done in local space

  • reset_simulation (bool): [Read-Write] Reset Simulation: Boolean to control if we want to reset trhe simulation at some point in time

  • teleport_distance (float): [Read-Write] Teleport Distance: Teleport distance threshold to reset the simulation

property angular_velocity_scale: float

[Read-Write] Angular Velocity Scale: The amount of angular velocities sent to the local groom space from the reference bone

Type:

(float)

property debug_simulation: bool

[Read-Write] Debug Simulation: Boolean to make the simulation strands visible

Type:

(bool)

property linear_velocity_scale: float

[Read-Write] Linear Velocity Scale: The amount of linear velocities sent to the local groom space from the reference bone

Type:

(float)

property local_bone: str

[Read-Write] Local Bone: Bone used for the simulation local space

Type:

(str)

property local_simulation: bool

[Read-Write] Local Simulation: Strands simulation is done in local space

Type:

(bool)

property reset_simulation: bool

[Read-Write] Reset Simulation: Boolean to control if we want to reset trhe simulation at some point in time

Type:

(bool)

property teleport_distance: float

[Read-Write] Teleport Distance: Teleport distance threshold to reset the simulation

Type:

(float)