This page is not available in the language you have chosen. It will be displayed in English by default. If you would like to view it in a different language, you can try selecting another language.
Description
SetMuscleActivationParameter (v1)
Sets per-muscle parameters for custom muscle contraction.
Input(s) : AnimationAsset - Use minimum muscle lengths across this animation asset to infer MuscleLengthRatioThresholdForMaxActivation SkeletalMesh - Skeletal mesh used to linear blend skin kinematic origins and insertions. This must be the same as the one used to create TransformSource group. Check geometry spreadsheet for more info.
Information
| Module | ChaosFleshNodes |
| Category | Flesh |
| Type | FSetMuscleActivationParameterNode |
Parameters
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| ParameterMethod | TEnumAsByte<EParameterMethod> | Global | |
| ApplyGlobalParameters | Click on this button to apply global parameters. | FDataflowFunctionProperty | () |
| ContractionVolumeScale | Muscles gain volume during contraction if > 1. Volume-preserving if 1. Default: 1 | float | 1.000000 |
| GlobalFiberLengthRatioAtMaxActivation | How much muscle fibers shorten at max activation 1. A smaller value means more contraction in the fiber direction. Default: 0.5 | float | 0.500000 |
| GlobalMuscleLengthRatioThresholdForMaxActivation | Muscle length ratio (defined by origin-insertion distance) below this threshold is considered to reach max activation 1. Default: 0.75 | float | 0.750000 |
| GlobalInflationVolumeScale | Inflates muscle rest volume if > 1 and deflates muscle rest volume if < 1. Default: 1 | float | 1.000000 |
| bUseLengthActivationCurve | bool | False | |
| GlobalLengthActivationCurve | Curve editor for muscle length-activation curve. Default: linear X-axis: normalized muscle length level from 0 (rest state) to 1 (muscle length ratio = Muscle Length Ratio Threshold For Max Activation) Y-axis: muscle activation from 0 to 1 | FRuntimeFloatCurve | (EditorCurveData=(Keys=((),(Time=1.000000,Value=1.000000)),DefaultValue=340282346638528859811704183484516925440.000000,PreInfinityExtrap=RCCE_Constant,PostInfinityExtrap=RCCE_Constant),ExternalCurve=None) |
| ThresholdScalingPercent | This percentage (usually between 0 and 100%) globally scales minimum muscle lengths computed from the animation asset. For example, if minimum muscle length = 0.5 and ThresholdScalingPercent = 80%, the final MuscleLengthRatioThresholdForMaxActivation for this muscle is 1 - (1 - 0.5) * 80% = 0.6 | float | 100.000000 |
| ImportLowestMuscleLengthRatio | Click on this button to import the minimum muscle lengths across the animation asset as MuscleLengthRatioThresholdForMaxActivation | FDataflowFunctionProperty | () |
| ImportAllMuscleNames | Click on this button to import muscle bone names (in the Transform group) from the collection. | FDataflowFunctionProperty | () |
| ResetToGlobalParameters | Click on this button to reset per-muscle parameters to global parameters. | FDataflowFunctionProperty | () |
| ApplyCustomParameters | Click on this button to apply custom muscle parameters. | FDataflowFunctionProperty | () |
| ParameterArray | TArray |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Collection | FManagedArrayCollection | () | |
| AnimationAsset | Use minimum muscle lengths across this animation asset to infer MuscleLengthRatioThresholdForMaxActivation | TObjectPtr<UAnimSequence> | None |
| SkeletalMesh | Skeletal mesh used to linear blend skin kinematic origins and insertions. This must be the same as the one used to create TransformSource group. Check geometry spreadsheet for more info. | TObjectPtr<USkeletalMesh> | None |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Collection | FManagedArrayCollection |