unreal.AnimPhysConstraintSetup

class unreal.AnimPhysConstraintSetup

Bases: unreal.StructBase

Constraint setup struct, holds data required to build a physics constraint

C++ Source:

  • Module: AnimGraphRuntime
  • File: AnimNode_AnimDynamics.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angular_constraint_type (AnimPhysAngularConstraintType): [Read-Write] Method to use when constraining angular motion
  • angular_limits_max (Vector): [Read-Write] Angular Limits Max
  • angular_limits_min (Vector): [Read-Write] Angular Limits Min
  • angular_target (Vector): [Read-Write] Target direction to face for body1 (in body0 local space)
  • angular_target_axis (AnimPhysTwistAxis): [Read-Write] Axis on body1 to match to the angular target direction.
  • cone_angle (float): [Read-Write] Angle to use when constraining using a cone
  • linear_axes_max (Vector): [Read-Write] Maximum linear movement per-axis (Set zero here and in the min limit to lock)
  • linear_axes_min (Vector): [Read-Write] Minimum linear movement per-axis (Set zero here and in the max limit to lock)
  • linear_x_limit_type (AnimPhysLinearConstraintType): [Read-Write] Whether to limit the linear X axis
  • linear_y_limit_type (AnimPhysLinearConstraintType): [Read-Write] Whether to limit the linear Y axis
  • linear_z_limit_type (AnimPhysLinearConstraintType): [Read-Write] Whether to limit the linear Z axis
  • twist_axis (AnimPhysTwistAxis): [Read-Write] Axis to consider for twist when constraining angular motion (forward axis)