unreal.AnimDatabaseFunction_AdjustNeckRotation

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

Bases: AnimDatabaseFunction

Function to adjust neck rotation to remove potential artifacts after retargeting

C++ Source:

  • Plugin: AnimDatabase

  • Module: AnimDatabase

  • File: AnimDatabase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • head_bone (Name): [Read-Write] Name of the head bone

  • head_rotation (float): [Read-Write] Rotation to apply to the head bone

  • local_axis (Vector): [Read-Write] Local axis to apply rotation on

  • neck0_bone (Name): [Read-Write] Name of the neck0 bone

  • neck0_rotation (float): [Read-Write] Rotation to apply to the neck0 bone

  • neck1_bone (Name): [Read-Write] Name of the neck1 bone

  • neck1_rotation (float): [Read-Write] Rotation to apply to the neck1 bone