unreal.AnimDatabaseFunction_SetRootFromLookAt

class unreal.AnimDatabaseFunction_SetRootFromLookAt(outer: Object | None = None, name: Name | str = 'None')

Bases: AnimDatabaseFunction

Function for computing the root transform using the look-at direction

C++ Source:

  • Plugin: AnimDatabase

  • Module: AnimDatabase

  • File: AnimDatabase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • apply_smoothing (bool): [Read-Write] If to apply smoothing to the root

  • direction_sav_gol_filter_width (float): [Read-Write] Filter width for the direction savgol filter. Larger values create smoother trajectories.

  • direction_sav_gol_polynomial_degree (int32): [Read-Write] Degree of polynomial to use for the direction savgol filter. Larger degrees allow for more bendy trajectories.

  • direction_smoothing_time (float): [Read-Write] Amount of smoothing to apply to the facing direction

  • location_sav_gol_filter_width (float): [Read-Write] Filter width for the location savgol filter. Larger values create smoother trajectories.

  • location_sav_gol_polynomial_degree (int32): [Read-Write] Degree of polynomial to use for the location savgol filter. Larger degrees allow for more bendy trajectories.

  • location_smoothing_time (float): [Read-Write] Amount of smoothing to apply to the projected bone location

  • pelvis_bone (Name): [Read-Write] Pelvis bone name

  • root_bone (Name): [Read-Write] Root bone name

  • root_direction (Vector): [Read-Write] Root bone forward vector

  • root_direction_bone (Name): [Read-Write] Bone to use for the root facing direction

  • root_direction_bone_direction (Vector): [Read-Write] Local forward direction of the above bone to use as the facing direction

  • root_location_bone (Name): [Read-Write] Bone to project onto the floor to use as the root location

  • use_gaussian_windowed_sav_gol_filter (bool): [Read-Write] If to use a gaussian window on the SavGol filter weights

  • use_sav_gol_filter (bool): [Read-Write] If to use a SavGol filter for smoothing. A SavGol filter can work better when applying large amounts of smoothing