Skip to main content

TwistRelaxerSetting

A class in Root.Township, Alta.Character.

One bone entry for the twist relaxer, which spreads forearm or arm twist across bones so they don't look wrung. Listed in TwistRelaxerControllerHelper.BonesToBeRelaxed.

Constructors​

MemberWhat it is
TwistRelaxerSetting()Creates a TwistRelaxerSetting with default values.

Fields​

3 private and internal fields
MemberWhat it is
private Transform boneBacking field for Bone.
private float parentChildCrossfadeBacking field for ParentChildCrossfade.
private float weightBacking field for Weight.

Properties​

MemberWhat it is
Transform Bone { get; set; }The bone transform to relax. ArmIKControllerHelper finds the elbow's entry by matching this bone's name.
float ParentChildCrossfade { get; }From 0 to 1: how much the twist follows the parent bone versus the child bone.
float Weight { get; }From 0 to 1: how strongly the twist is relaxed on this bone.

Used in​

Members of other types that take, return or hold a TwistRelaxerSetting: