LocomotionSettings
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
public sealed class LocomotionSettingsNamespace NodeWorld.Avatar.IK.
Settings of the procedural steps: when the feet step and how, when no foot is tracked.
Fields
weight
public float weightHow much the procedural locomotion is applied (0 to 1).
footDistance
public float footDistanceDistance of each foot from the body's center, in meters.
stepThreshold
public float stepThresholdA foot steps when its target is farther than this from it, in meters.
angleThreshold
public float angleThresholdA foot steps when the body turns more than this from it, in degrees.
centerOfMassAngleMultiplier
public float centerOfMassAngleMultiplierHow much the center of mass's angle adds to the step distance.
maxVelocity
public float maxVelocityHighest speed of the body the steps keep up with, in meters per second.
velocityPrediction
public float velocityPredictionHow far ahead the steps aim, in seconds of the body's speed.
maxLegStretch
public float maxLegStretchLongest a leg stretches before a step is forced (share of its length).
rootSpeed
public float rootSpeedHow fast the root follows the body, in meters per second.
stepSpeed
public float stepSpeedSpeed of one step (steps per second).
stepHeight
public AnimationCurve stepHeightHeight of the foot over a step (step progress to meters).
heelHeight
public AnimationCurve heelHeightHeight of the heel over a step (step progress to meters).
maxBodyYOffset
public float maxBodyYOffsetHighest the body bobs up and down while stepping, in meters.
relaxLegTwistMinAngle
public float relaxLegTwistMinAngleLeg twist under this angle is relaxed, in degrees.
relaxLegTwistSpeed
public float relaxLegTwistSpeedHow fast the leg twist relaxes, in degrees per second.
stepInterpolation
public InterpolationMode stepInterpolationEasing of a step.
centerOfMassOffset
public Vector3 centerOfMassOffsetOffset of the center of mass from the head, in the root's space.
blockingLayers
public LayerMask blockingLayersLayers that block a step (raycasts from the foot to its next place).
blockingEnabled
public bool blockingEnabledSteps check the blockingLayers.
raycastRadius
public float raycastRadiusRadius of the blocking raycast, in meters.
raycastHeight
public float raycastHeightHeight the blocking raycast starts from, in meters.
