unreal.AnimNode_TwistCorrectiveNode
¶
- class unreal.AnimNode_TwistCorrectiveNode(component_pose: ComponentSpacePoseLink = [], lod_threshold: int = 0, alpha_input_type: AnimAlphaInputType = Ellipsis, alpha_bool_enabled: bool = False, alpha: float = 0.0, alpha_scale_bias: InputScaleBias = Ellipsis, alpha_bool_blend: InputAlphaBoolBlend = Ellipsis, alpha_curve_name: Name = 'None', alpha_scale_bias_clamp: InputScaleBiasClamp = Ellipsis)¶
Bases:
AnimNode_SkeletalControlBase
This is the node that apply corrective morphtarget for twist Good example is that if you twist your neck too far right or left, you’re going to see odd stretch shape of neck, This node can detect the angle and apply morphtarget curve This isn’t the twist control node for bone twist
C++ Source:
Module: AnimGraphRuntime
File: AnimNode_TwistCorrectiveNode.h
Editor Properties: (see get_editor_property/set_editor_property)
alpha
(float): [Read-Write] Alpha: Current strength of the skeletal controlalpha_bool_blend
(InputAlphaBoolBlend): [Read-Write] Alpha Bool Blendalpha_bool_enabled
(bool): [Read-Write] Alpha Bool Enabledalpha_curve_name
(Name): [Read-Write] Alpha Curve Namealpha_input_type
(AnimAlphaInputType): [Read-Write] Alpha Input Typealpha_scale_bias
(InputScaleBias): [Read-Write] Alpha Scale Biasalpha_scale_bias_clamp
(InputScaleBiasClamp): [Read-Write] Alpha Scale Bias Clampbase_frame
(ReferenceBoneFrame): [Read-Write] Base Frame: Base Frame of the reference for the twist nodecomponent_pose
(ComponentSpacePoseLink): [Read-Write] Component Pose: Input linkcurve
(AnimCurveParam): [Read-Write] Curvelod_threshold
(int32): [Read-Write] LODThreshold: * Max LOD that this node is allowed to run * For example if you have LODThreadhold to be 2, it will run until LOD 2 (based on 0 index) * when the component LOD becomes 3, it will stop update/evaluate * currently transition would be issue and that has to be re-visitedrange_max
(float): [Read-Write] Range Max: Maximum limit of the input value (mapped to RemappedMax, only used when limiting the source range) We can’t go more than 180 right now because this is dot product driverremapped_max
(float): [Read-Write] Remapped Max: Maximum value to apply to the destination (remapped from the input range)remapped_min
(float): [Read-Write] Remapped Min: Minimum value to apply to the destination (remapped from the input range)twist_frame
(ReferenceBoneFrame): [Read-Write] Twist Frame: Transform component to use as inputtwist_plane_normal_axis
(Axis): [Read-Write] Twist Plane Normal Axis: Normal of the Plane that we’d like to calculate angle calculation from in BaseFrame. Please note we’re looking for Normal Axis