Table of Contents

Class RigReferences

Holds references to all IK constraints and provides easy access to targets and weights. Attach this component to the Rig GameObject.

public class RigReferences : MonoBehaviour
Inheritance
RigReferences

Properties

HeadAimConstraint

public MultiAimConstraint HeadAimConstraint { get; }

Property Value

MultiAimConstraint

HeadTarget

public Transform HeadTarget { get; }

Property Value

Transform

HeadWeight

public float HeadWeight { get; set; }

Property Value

float

IsValid

Checks if all required constraints are assigned.

public bool IsValid { get; }

Property Value

bool

LeftFootTip

public Transform LeftFootTip { get; }

Property Value

Transform

LeftHandHint

public Transform LeftHandHint { get; }

Property Value

Transform

LeftHandIKConstraint

public TwoBoneIKConstraint LeftHandIKConstraint { get; }

Property Value

TwoBoneIKConstraint

LeftHandTarget

public Transform LeftHandTarget { get; }

Property Value

Transform

LeftHandTip

public Transform LeftHandTip { get; }

Property Value

Transform

LeftHandWeight

public float LeftHandWeight { get; set; }

Property Value

float

LeftLegHint

public Transform LeftLegHint { get; }

Property Value

Transform

LeftLegIKConstraint

public TwoBoneIKConstraint LeftLegIKConstraint { get; }

Property Value

TwoBoneIKConstraint

LeftLegTarget

public Transform LeftLegTarget { get; }

Property Value

Transform

LeftLegWeight

public float LeftLegWeight { get; set; }

Property Value

float

RightFootTip

public Transform RightFootTip { get; }

Property Value

Transform

RightHandHint

public Transform RightHandHint { get; }

Property Value

Transform

RightHandIKConstraint

public TwoBoneIKConstraint RightHandIKConstraint { get; }

Property Value

TwoBoneIKConstraint

RightHandTarget

public Transform RightHandTarget { get; }

Property Value

Transform

RightHandTip

public Transform RightHandTip { get; }

Property Value

Transform

RightHandWeight

public float RightHandWeight { get; set; }

Property Value

float

RightLegHint

public Transform RightLegHint { get; }

Property Value

Transform

RightLegIKConstraint

public TwoBoneIKConstraint RightLegIKConstraint { get; }

Property Value

TwoBoneIKConstraint

RightLegTarget

public Transform RightLegTarget { get; }

Property Value

Transform

RightLegWeight

public float RightLegWeight { get; set; }

Property Value

float

Methods

ResetAllWeights()

Resets all constraint weights to zero.

public void ResetAllWeights()

SetAllWeights(float)

Sets all constraint weights to the specified value.

public void SetAllWeights(float weight)

Parameters

weight float