当前位置:网站首页>11_ue4进阶_男性角色换成女性角色,并修改动画
11_ue4进阶_男性角色换成女性角色,并修改动画
2022-07-28 10:22:00 【无情的阅读机器】
打开虚幻商城,搜索military style mannequins

将该女性角色添加到工程

等待下载完之后,打开我们的项目,发现已经加载进来了。

删掉选中的三个文件夹
现在将女性角色应用到现有的蓝图里
打开小白人的蓝图,更换mesh中的网格体,选择我们的女性角色。



然后我们为mesh指定一个动画蓝图(女性的那个动画蓝图)。

测试:正常操控女性角色,但是发射火球不能做出动作,因为那一套逻辑在男性角色的蓝图里面。
设置最大行走速度为100,现在写一个按shift奔跑的逻辑。

现在跳跃有个bug,当人开始跳的时候,会向下蹲来蓄力,如果我们同时按w,小白人就蹲着往前移动。

解决思路:直接把前面蹲地的那几帧动画删掉。
进入跳跃节点,选中跳跃动画,设置从6.5帧的地方进行播放动画

--------------------------------------------------------------------------------------------------------------------------------
解决最后一个问题:跳跃的时候不让左手臂太往后
首先调整角色跳跃高度为400
先拷贝一个跳跃动画,以免动画修改失败不能复原。

打开动画,暂停动画,拉到最后一帧
显示骨骼

选择这一根骨头,从而旋转手臂。
让他在滞空的时候,手臂向下

保证我们选的是这个骨头,然后点击key

然后点击应用

出现了新的东西

如果我们只改第一帧,那么就会从第一帧到最后一帧产生一个线性运算(计算中间各帧的位置变化)。
如果我们想要让他在第14帧到最后一帧甩的慢一点,我们就在第14帧再添加一个关键帧。

最后一帧还是将手臂下垂
添加关键帧,应用,然后保存动画
进入动画蓝图,然后替换动画

(哎,改了没反应,以后讨论这个地方)
边栏推荐
- SQL Server 2016 learning records - data update
- 15. Judge whether the target value exists in the two-dimensional array
- 287. Find the Duplicate Number
- SQL Server 2016 学习记录 --- 数据定义
- 14. Double pointer - the container that holds the most water
- 2020第二届传智杯初赛
- SQL Server 2016 学习记录 ---视图
- Codeforces Round #614 (Div. 2) A. ConneR and the A.R.C. Markland-N
- GKNoiseSource
- SQL Server 2016学习记录 --- 连接查询
猜你喜欢

PHP generates QR code (learning)

数据库安全 --- 创建登录名 用户+配置权限【笔记】

Sword finger offer

Chapter 1: cross end development of small programs of uniapp ----- create a uniapp project

SQL Server 2016 learning records - single table query

Get to know SuperMap idesktop for the first time

IDEA创建我的第一个项目

How to play a ball game with RoboCup 2D

gcc: error trying to exec 'as': execvp: No such file or directory

3、MapReduce详解与源码分析
随机推荐
20200229 training match L1 - 2 delete the substring in the string (20 points)
最短路专题
GKARC4RandomSource
Idea packages jar packages and runs jar package commands
Machine learning -- handwritten English alphabet 2 -- importing and processing data
GKRandomSource
SQL Server 2016学习记录 --- 连接查询
20200229训练赛 L1 - 2 删除字符串中的子串 (20分)
ACM winter vacation training 6
20200217训练赛 L1 - 7 2019来了 (20分)
安装office自定义项 安装期间出错 解决办法
Markdown to word or PDF
Alibaba cloud image address
GKRandom
[wechat applet] project practice - lottery application
用两个栈实现一个队列【C语言】
AP AUTOSAR platform design 3 architecture
The IPO of SMIC International Technology Innovation Board passed smoothly, and its market value is expected to exceed 200billion!
试题 历届试题 发现环
12. Double pointer -- merge two ordered linked lists