IKFootSolver
Inherits from IKBehavior
Declaration
public sealed class IKFootSolver : IKBehaviorDescription
Handles setting the IK foot position and rotation of a character as they move around uneven surfaces.
Properties
| groundLayers | The layers that are detected by raycasts. Raycasts are used to determine the distance of each foot to the ground. |
| footHeight | The distance from the resting position of the foot to the ground (depends on the model). |
| maxStepHeight | The maximum distance the character can reach a surface. |
| maxGroundDistance | The maximum distance to detect the ground. |
| positionWeightMultiplier | Multiplies the foot position weight of the IK solution. |
| rotationWeightMultiplier | Multiplies the foot rotation weight of the IK solution. |
| damping | How quickly the animator body position changes. Smaller values change the position more quickly. |
| debug | Turns on/off debug gizmos. |
| bodyPositionOffset | The current offset of the animator body position. |
Methods
| UpdateIK | Updates the IK solution. |
Inherited
Properties
| animator | The animator component the IK solution is applied to. |