public static bool ActiveIK(ThirdPersonAction action, ThirdPersonPosture posture, ThirdPersonPosture nextPosture, ThirdPersonMovement movement) { return(action == ThirdPersonAction.EndOfTheWorld && !IKFilter.IsInThirdPersonPostureFilters(posture) && !IKFilter.IsInThirdPersonPostureFilters(nextPosture) && movement != ThirdPersonMovement.Sprint); }
public static bool ActiveIK(ThirdPersonAction action, ThirdPersonPosture posture) { return((action == ThirdPersonAction.EndOfTheWorld) && !IKFilter.IsInThirdPersonPostureFilters(posture)); }