- Home /
Docs on the Locomotion System LegAnimator parameters?
I looked in the docs that comes with the Locomotion System project folder, and they explain many things but not all the parameters for the LegAnimator script are explained. Where can I find some explanation of those parameters?
Answer by runevision · Jun 14, 2010 at 08:19 AM
The Locomotion System project folder will be updated at one point with a few improvements and better documentation. Until then, here's a few hints for some of the LegAnimator variables that are not covered in the manual:
minStepDistance : Prevent the character from taking steps smaller than this distance (in units).
maxStepDuration : Prevent the character from taking steps that take longer than this (in seconds)
maxStepRotation : The maximum rotation the character can do without taking a step. Setting this higher will make the character take fewer steps when rotating fast.
maxStepAcceleration : How maximum amount the character can accelerate without taking a step.
maxStepHeight : The character will not attempt to take steps higher than this. Artifacts may happen if the character is forced over higher steps than this.
maxSlopeAngle : The character will try to avoid to take steps on slopes stepper than this.
enableLegParking : This will let the character stand still when coming to a stop rather than keeping moving the legs;
groundLayers : The layers the system will raycast against to find out where to step on.
climbTiltAmount : How much the character should tilt when going up or down steps or slopes.
climbTiltSensitivity : How sensitive the character tilting is to the steepness of the steps or slopes. Higher sensitivity will make the character tilt at less steepness.
accelerateTiltAmount : How much the character should tilt when accelerating or turning.
accelerateTiltSensitivity : How sensitive the character tilting is to acceleration. Higher sensitivity will make the character tilt at less acceleration or turning.