Unity 插件:Final IK 2.1

| 分类 游戏开发之unity  好好玩游戏  | 标签 游戏  Unity  手感  动画  骨骼  IK  反向动力学  FinalIK 

之前也写过一篇IK 的文章:《好好玩游戏:Unity 头部IK 与手脚IK》

https://assetstore.unity.com/packages/tools/animation/final-ik-14290

本文使用的Unity 环境是:Unity 版本是2021.3.13f1c1,并且使用的是内置渲染管线(Build-In RP [3D])

阅读《FinalIK User Manual.pdf》了解其用法

/Assets/Plugins/RootMotion/FinalIK/_DEMOS 下面是该插件的各种演示案例!比如Leg IK、蜘蛛动画等等

运行的时候可能出现报错:

InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
RootMotion.Demos.MechSpiderController.get_inputVector () (at Assets/Plugins/RootMotion/FinalIK/_DEMOS/CCD IK/Scripts/MechSpiderController.cs:18)
RootMotion.Demos.MechSpiderParticles.Update () (at Assets/Plugins/RootMotion/FinalIK/_DEMOS/CCD IK/Scripts/MechSpiderParticles.cs:21)

因为之前RPG Character Mecanim Animation Pack 6.0 需要依赖Input System,这个插件又需要依赖Input Manager

所以需要修改配置:【Edit】->【Project Settings】->【Player】->【Active Input Handling】 设置为Both,使得兼容两种输入系统!




如果本篇文章对您有所帮助,您可以通过微信(左)或支付宝(右)对作者进行打赏!


上一篇     下一篇