This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
[RequireComponent(typeof(Animator))] | |
public class FootIK : MonoBehaviour | |
{ | |
[Header("Main")] | |
[Range(0, 1)] public float Weight = 1f; | |
[Header("Settings")] | |
public float MaxStep = 0.5f; | |
public float FootRadius = 0.15f; |