当前位置:网站首页>UE4 key to open the door
UE4 key to open the door
2022-07-22 17:10:00 【Zhichao_ ninety-seven】
Based on the previous blog (UE4 Keyboard keys realize door opening and closing ) Add the function of key opening
Realization effect :
20220721
Implementation steps :
1. Click on Variable
2. name Can I open the door
3. Drag it into Event chart
5. Here's the picture , Search for Branch And click the , To determine whether the current Boolean value is True or False
6. Here's the picture , attachment
7. The branch FALSE Connect one end to print the string
therefore , Now just pick up the key , Change the Boolean value to True You can open the door
8. Right click in the content browser , Click blueprints
9. Click on Actor, Name the blueprint Key_BP
10. Download a key model from the Internet , Click here if necessary : Key FBX Format 3D Model
11. Double-click to open Key_BP, Set the static mesh body key Move in
12. Add spherical collision
13. Click to add two overlapping events
14. establish Get player controller 、 keyboard E、Gate、 Enable input 、 Disable input , Parallel connection
15. establish Gets all of the properties of the class actor, And select Actor Class by Door_BP
16. Continue to create GET( search Tools Array )、SET Can I open the door
17. In order to make the key invisible after taking it , It needs to be destroyed
边栏推荐
- numpy.around
- Hande enterprise PAAS platform hzero released version 1.5.0.release
- Upgrade MySQL 5.6 to 8.0 on Windows
- lvs看这篇就够了
- [redis] redis high availability deployment scheme in distributed scenarios
- 【Redis】分布式场景下Redis高可用部署方案
- Is there anyone who can't analyze these data cases? A trick to teach you how to visualize recruitment data~
- 通过删除注册表破解plsql
- [vs] how to check where the thread is blocked
- 活动推荐| Apache Pulsar 在 vivo 的探索与实践 即将开播
猜你喜欢
Opencv supports H264 video coding
网络基础原理概述
codeforce D2. RGB Substring (hard version) 滑動窗口
1143. 最长公共子序列
[vs] how to check where the thread is blocked
汉得企业级PaaS平台 HZERO 发布 1.5.0.RELEASE 版本
Enthusiasm and expertise fly together | Microsoft's most valuable expert project, attracting Microsoft technology contributors!
Concis component library | dark pattern design
MySQL foundation +mysql cluster review
SAP WPER(POS接口监控器)IDCO过账凭证ALV报表
随机推荐
JWT学习
Under fitting and over fitting (regularization)
Repair version of Dynamic Video Wallpaper wechat applet source code download, supporting various types of traffic main revenue
数字化路径与实践思考
ES6箭头函数
numpy.around
numpy.random.seed()
汉得数字平台体系及试用知多少?
[open hand] hande enterprise PAAS platform hzero heavy open source!
tf.placeholder
还有人不会这些数据分析小案例吗?一招教你招聘数据可视化~
Anaconda download link
The most detailed conversion of Base64, blob and file
Hande enterprise digital PAAS platform hzero version 1.9.0 was officially released!
服务器网络性能调优案例
2022/7/19-日报
1143. 最长公共子序列
npm私服发包及使用
ES6 let与const
14_ Response model