如何在编辑器中将动画曲线更改为线性? [英] How to change animation curves to be linear in editor?

查看:49
本文介绍了如何在编辑器中将动画曲线更改为线性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我向轮子添加了旋转动画,但是轮子无法平滑旋转.我发现原因是因为旋转动画的曲线不是线性的.但是,在尝试了编辑器中几乎所有的按钮和选项之后,我找不到使动画的曲线呈线性的方法.有谁知道如何在统一编辑器中获得具有线性曲线的动画.

I add a rotation animation to a wheel but the wheel does not rotate smoothly. I find the reason is because the curve of the rotation animation is not linear. However after trying out almost all the buttons and options in the editor, I can not find a way to make the curve of the animation to be linear. Does anyone know how to get animations with linear curve in unity editor.

推荐答案

我自己找到了解决方案,它很简单.您只需在动画窗口中打开动画,然后选择曲线"选项卡,然后右键单击曲线的端点之一,然后选择自动",就会看到曲线变成一条固定线.

I found the solution by myself and it is very simple. You just open up the animation in the animation window and choose the "curves" tab and then right click in one of the end point of the curve, then choose "auto" and you will see the curve becomes a strait line.

这篇关于如何在编辑器中将动画曲线更改为线性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆