unreal.AnimDatabaseFunction_SetRootFromLookAt¶
- class unreal.AnimDatabaseFunction_SetRootFromLookAt(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AnimDatabaseFunctionFunction 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 rootdirection_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 directionlocation_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 locationpelvis_bone(Name): [Read-Write] Pelvis bone nameroot_bone(Name): [Read-Write] Root bone nameroot_direction(Vector): [Read-Write] Root bone forward vectorroot_direction_bone(Name): [Read-Write] Bone to use for the root facing directionroot_direction_bone_direction(Vector): [Read-Write] Local forward direction of the above bone to use as the facing directionroot_location_bone(Name): [Read-Write] Bone to project onto the floor to use as the root locationuse_gaussian_windowed_sav_gol_filter(bool): [Read-Write] If to use a gaussian window on the SavGol filter weightsuse_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