LegSettings
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
public sealed class LegSettingsNamespace NodeWorld.Avatar.IK.
Settings of one leg: how the foot reaches its target and how the knee follows.
Fields
positionWeight
public float positionWeightHow much the foot reaches the position of its target (0 to 1).
rotationWeight
public float rotationWeightHow much the foot takes the rotation of its target (0 to 1).
bendGoal
public Transform bendGoalAn object the knee bends toward, or null.
bendGoalWeight
public float bendGoalWeightHow much the knee bends toward bendGoal (0 to 1).
swivelOffset
public float swivelOffsetTurns the knee around the hip-to-foot axis, in degrees.
bendToTargetWeight
public float bendToTargetWeightHow much the knee bends toward the target's forward direction (0 to 1).
lengthMultiplier
public float lengthMultiplierScales the leg's length for the solver (0.01 to 2).
stretchCurve
public AnimationCurve stretchCurveHow the leg stretches with the distance to the target (distance ratio to stretch).
footPositionOffset
public Vector3 footPositionOffsetRuntime offset added to the foot's position.
heelPositionOffset
public Vector3 heelPositionOffsetRuntime offset added to the heel's position.
footRotationOffset
public Quaternion footRotationOffsetRuntime offset added to the foot's rotation.
IKPosition
public Vector3 IKPositionPosition of the foot target this frame (world space).
IKRotation
public Quaternion IKRotationRotation of the foot target this frame (world space).
useAnimatedBendNormal
public bool useAnimatedBendNormalThe knee bends along the animated pose's bend normal this frame instead of the solved one.
