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] Current strength of the skeletal controlalpha_bool_blend
(InputAlphaBoolBlend): [Read-Write]alpha_bool_enabled
(bool): [Read-Write]alpha_curve_name
(Name): [Read-Write]alpha_input_type
(AnimAlphaInputType): [Read-Write]alpha_scale_bias
(InputScaleBias): [Read-Write]alpha_scale_bias_clamp
(InputScaleBiasClamp): [Read-Write]base_frame
(ReferenceBoneFrame): [Read-Write] Base Frame of the reference for the twist nodecomponent_pose
(ComponentSpacePoseLink): [Read-Write] Input linkcurve_name
(Name): [Read-Write]lod_threshold
(int32): [Read-Write] * Max LOD that this node is allowed to run * For example if you have LODThreshold 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] 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] Maximum value to apply to the destination (remapped from the input range)remapped_min
(float): [Read-Write] Minimum value to apply to the destination (remapped from the input range)twist_frame
(ReferenceBoneFrame): [Read-Write] Transform component to use as inputtwist_plane_normal_axis
(Axis): [Read-Write] Normal of the Plane that we’d like to calculate angle calculation from in BaseFrame. Please note we’re looking for Normal Axis