class unreal.Constraint

Bases: StructBase

Constraint Set up

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimNode_Constraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • offset_option (ConstraintOffsetOption): [Read-Write] Offset Option: Maintain offset based on refpose or not.

    None - no offset Offset_RefPose - offset is created based on reference pose

    In the future, we’d like to support custom offset, not just based on ref pose

  • per_axis (FilterOptionPerAxis): [Read-Write] Per Axis: Per axis filter options - applied in their local space not in world space

  • target_bone (BoneReference): [Read-Write] Target Bone: Target Bone this is constraint to

  • transform_type (TransformConstraintType): [Read-Write] Transform Type: What transform type is constraint to - Translation, Rotation, Scale OR Parent. Parent overrides all component