当前位置:网站首页>UE4 通过按键升降电梯
UE4 通过按键升降电梯
2022-07-22 04:46:00 【Zhichao_97】
实现的功能为当玩家到达电梯的升降平台时,按下E键,电梯就会上升和下降
最终效果:
实现步骤:
1.在内容浏览器中,点击鼠标右键,选择蓝图类
2.选择Actor,并命名为电梯_BP
3.双击电梯_BP,在打开的界面中,点击 添加组件-》立方体
4.缩小z轴的值,作为一个电梯的平台
5.添加一个盒体触发器
6.调整盒体触发器的大小和位置
7.选中Box,增加 开始重叠和结束重叠时的事件
8.依次添加gate、Flip Flop、时间轴,并连线
9.双击时间轴,添加两个关键帧,分别是(0,0)和(0,1) (时间,值)
再设置长度为3
10.选中关键帧,点击鼠标右键,选择自动,让曲线平滑
11.添加 插值
12.将Box拖入事件图表中,创建 设置相对位置
13.分割New Location引脚,将插值中的B的值改为200
14.添加 键盘 E 、获得玩家控制器、启用输入、禁用输入,并连线
边栏推荐
- 力扣每日一题-第41天-125. 验证回文串
- AT4162 [ARC099C] Independence
- Win10 系统一天蓝屏好多次,怎么解决?
- Diversified distribution methods of NFT
- Repair the problem of adding device groups and editing exceptions on easycvr platform
- 接手RN项目遇到的问题及解决 自用
- [leetcode stack and queue -- minimum stack] 155. Minimum stack
- PHP QR code decoding qrreader class | QR code image to string
- Li Kou daily question - day 41 -125. Verify the palindrome string
- CF464E The Classic Problem
猜你喜欢
Win10系统打开什么都是反应比平时慢,转圈等待1分钟如何解决?
ECCV 2022 | correction des dommages importants au rendement de la cible causés par le fpn: Vous devriez regarder tous les objets
IBM的免费机器怎么装宝塔
左耳朵耗子:云原生时代的开发者应具备这5大能力
Dc-4-range practice
Transparent transmission of punctual atom Lora wireless serial port point-to-point communication and Its Precautions
AlterNet Studio 8.1 Crack
The Prospectus has written "yuancosmos" 318 times! Feitian Yundong fights Hong Kong stocks again "yuancosmos first share"“
UE4 进入指定区域实现触发加速功能
toString()及重写的作用与应用
随机推荐
AcWing_11. 背包问题求方案数_dp
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
Complex network modeling (network robustness)
Network layer interview questions
Chaque jour - jour 41 - 125. Vérifier la chaîne de palindromes
Operation tutorial: UOB camera registers the detailed configuration of easycvr platform through gb28181 protocol
How to write update set a= (select) in PostgreSQL?
[ssm]ssm integration ② (development of functional modules)
我,AI博士生,在线众筹研究主题
QUuid
Fundamentals of action theory
ECCV 2022 | correction des dommages importants au rendement de la cible causés par le fpn: Vous devriez regarder tous les objets
理解递归与迭代
Leetcode 172. zero after factorial
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
STM32控制电机简易教程
Mask RCNN source code explanation
ARC110F Esoswap
How can the easycvr platform access special devices without authentication?
Large file slice upload and breakpoint continuation