SpineSettings

csharp
public sealed class SpineSettings

Namespace NodeWorld.Avatar.IK.

Settings of the spine: how the head target moves the pelvis, the chest and the neck.

Fields

headPositionWeight

csharp
public float headPositionWeight

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

headRotationWeight

csharp
public float headRotationWeight

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

headClampWeight

csharp
public float headClampWeight

Limits the head's rotation away from the chest's (0: no limit, 1: none allowed).

minHeadHeight

csharp
public float minHeadHeight

Lowest height of the head above the root, in meters.

useAnimatedHeadHeightWeight

csharp
public float useAnimatedHeadHeightWeight

How much the animated head height is kept instead of the tracked one (0 to 1).

useAnimatedHeadHeightRange

csharp
public float useAnimatedHeadHeightRange

Within this distance (meters) of the animated head height, the tracked height wins.

animatedHeadHeightBlend

csharp
public float animatedHeadHeightBlend

Smoothing of the animated head height, in seconds.

pelvisPositionWeight

csharp
public float pelvisPositionWeight

How much the pelvis reaches the position of a pelvis target (0 to 1).

pelvisRotationWeight

csharp
public float pelvisRotationWeight

How much the pelvis takes the rotation of a pelvis target (0 to 1).

maintainAnimatedPelvis

csharp
public float maintainAnimatedPelvis

How much the animated pelvis position is kept when the head moves (0 to 1).

chestGoalWeight

csharp
public float chestGoalWeight

How much the chest turns toward its bend goal (0 to 1).

chestClampWeight

csharp
public float chestClampWeight

Limits the chest's rotation away from the pelvis's (0: no limit, 1: none allowed).

rotateChestByHands

csharp
public float rotateChestByHands

How much the hands turn the chest (0 to 1).

bodyPositionStiffness

csharp
public float bodyPositionStiffness

How stiffly the body follows the head's position (0 to 1).

bodyRotationStiffness

csharp
public float bodyRotationStiffness

How stiffly the body follows the head's rotation (0 to 1).

neckStiffness

csharp
public float neckStiffness

How stiffly the neck keeps its shape (0 to 1).

moveBodyBackWhenCrouching

csharp
public float moveBodyBackWhenCrouching

How far the body moves back while crouching, as a share of the crouch.

maxRootAngle

csharp
public float maxRootAngle

Largest angle between the root's heading and the head's before the root turns, in degrees.

rootHeadingOffset

csharp
public float rootHeadingOffset

Turns the root's heading by this angle, in degrees.

headPositionOffset

csharp
public Vector3 headPositionOffset

Runtime offset added to the head target's position (offset modifiers).

headRotationOffset

csharp
public Quaternion headRotationOffset

Runtime offset added to the head target's rotation.

pelvisPositionOffset

csharp
public Vector3 pelvisPositionOffset

Runtime offset added to the pelvis's solved position.

pelvisRotationOffset

csharp
public Quaternion pelvisRotationOffset

Runtime offset added to the pelvis's solved rotation.

chestPositionOffset

csharp
public Vector3 chestPositionOffset

Runtime offset added to the chest's solved position.

chestRotationOffset

csharp
public Quaternion chestRotationOffset

Runtime offset added to the chest's solved rotation.

IKPositionHead

csharp
public Vector3 IKPositionHead

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

IKRotationHead

csharp
public Quaternion IKRotationHead

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

IKPositionPelvis

csharp
public Vector3 IKPositionPelvis

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

IKRotationPelvis

csharp
public Quaternion IKRotationPelvis

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

goalPositionChest

csharp
public Vector3 goalPositionChest

Where the chest bends toward this frame (world space).