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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.LowLevel; | |
using RootMotion.FinalIK; | |
// Disable IK and TwistRelaxers and set them on this to have them run before constraints and particle systems are evaluated. | |
// Only one instance of IKRunner is possible, but it should be easy enough to extend. | |
// Remember to call Start() on the TwistRelaxers once if they are disabled from the beginning. The IK may also need manual initialization. |