unreal.AnimPhysConstraintSetup
¶
- class unreal.AnimPhysConstraintSetup¶
Bases:
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] Angular Constraint Type: Method to use when constraining angular motionangular_limits_max
(Vector): [Read-Write] Angular Limits Maxangular_limits_min
(Vector): [Read-Write] Angular Limits Minangular_target
(Vector): [Read-Write] Angular Target: The axis to align the angular spring constraint to in the animation pose. This typically points down the bone - so values of (1.0, 0.0, 0.0) are common, but you can pick other values to align the spring to a different direction. Note: This is affected by the Angular Spring Constant.angular_target_axis
(AnimPhysTwistAxis): [Read-Write] Angular Target Axis: The axis in the simulation pose to align to the Angular Target. This is typically the axis pointing along the bone. Note: This is affected by the Angular Spring Constant.cone_angle
(float): [Read-Write] Cone Angle: Angle to use when constraining using a conelinear_axes_max
(Vector): [Read-Write] Linear Axes Max: Maximum linear movement per-axis (Set zero here and in the min limit to lock)linear_axes_min
(Vector): [Read-Write] Linear Axes Min: Minimum linear movement per-axis (Set zero here and in the max limit to lock)linear_x_limit_type
(AnimPhysLinearConstraintType): [Read-Write] Linear XLimit Type: Whether to limit the linear X axislinear_y_limit_type
(AnimPhysLinearConstraintType): [Read-Write] Linear YLimit Type: Whether to limit the linear Y axislinear_z_limit_type
(AnimPhysLinearConstraintType): [Read-Write] Linear ZLimit Type: Whether to limit the linear Z axistwist_axis
(AnimPhysTwistAxis): [Read-Write] Twist Axis: Axis to consider for twist when constraining angular motion (forward axis)