NodeWorld

ArmSettings

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public sealed class ArmSettings

Namespace NodeWorld.Avatar.IK.

Settings of one arm: how the hand reaches its target and how the shoulder and elbow follow.

Fields

positionWeight

csharp
public float positionWeight

How much the hand reaches the position of its target (0 to 1).

rotationWeight

csharp
public float rotationWeight

How much the hand takes the rotation of its target (0 to 1).

shoulderWeight

csharp
public float shoulderWeight

How much the shoulder turns toward the hand (0 to 1).

shoulderMode

csharp
public ShoulderRotationMode shoulderMode

How the shoulder follows the hand.

shoulderYawOffset

csharp
public float shoulderYawOffset

Yaw offset of the shoulder, in degrees.

shoulderPitchOffset

csharp
public float shoulderPitchOffset

Pitch offset of the shoulder, in degrees.

shoulderBankOffset

csharp
public float shoulderBankOffset

Bank offset of the shoulder, in degrees.

shoulderTwistWeight

csharp
public float shoulderTwistWeight

How much the shoulder twists with the upper arm (0 to 1).

bendGoal

csharp
public Transform bendGoal

An object the elbow bends toward, or null.

bendGoalWeight

csharp
public float bendGoalWeight

How much the elbow bends toward bendGoal (0 to 1).

swivelOffset

csharp
public float swivelOffset

Turns the elbow around the shoulder-to-hand axis, in degrees.

wristToPalmAxis

csharp
public Vector3 wristToPalmAxis

The hand's local axis from the wrist to the palm.

palmToThumbAxis

csharp
public Vector3 palmToThumbAxis

The hand's local axis from the palm to the thumb.

lengthMultiplier

csharp
public float lengthMultiplier

Scales the arm's length for the solver (0.01 to 2).

stretchCurve

csharp
public AnimationCurve stretchCurve

How the arm stretches with the distance to the target (distance ratio to stretch).

handPositionOffset

csharp
public Vector3 handPositionOffset

Runtime offset added to the hand target's position.

IKPosition

csharp
public Vector3 IKPosition

Position of the hand target this frame (world space).

IKRotation

csharp
public Quaternion IKRotation

Rotation of the hand target this frame (world space).

bendDirection

csharp
public Vector3 bendDirection

The direction the elbow bends toward this frame.