作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个场景,里面有一个完整的人体模型
我希望用户可以通过转换模型来制作自己的动画。
我说的是一个带有时间线和旋转某些肌肉的可能性的应用程序。
你能给我推荐一些方法吗?
我可以想象在某些时候存储一些关于模型状态的信息......但我不知道如何将其保存为动画。
最佳答案
You can't edit animations at runtime. You can create an animation from scratch and use AnimationClip.SetCurve to build up your animation, but you can't access the curves directly at runtime.
However in an editor script you can use the AnimationUtilitys to modify an Animationclip, but of course only in the editor since this is an editor class.
关于animation - Unity Mecanim 脚本动态动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21468105/
我有一个场景,里面有一个完整的人体模型 我希望用户可以通过转换模型来制作自己的动画。 我说的是一个带有时间线和旋转某些肌肉的可能性的应用程序。 你能给我推荐一些方法吗? 我可以想象在某些时候存储一些关
我是一名优秀的程序员,十分优秀!