当前位置:网站首页>UE4 learning records create a role and control its movement
UE4 learning records create a role and control its movement
2022-06-25 23:36:00 【The struggle history of polar bear】
This is just to record my study UE4 Process of , May not help you , Sorry first . To prevent misleading others , Do not reprint , Do not reprint , Do not reprint .
The topic of this article is creating roles , And control its front, back, left and right , Rotate up and down , Jump, etc . General chapter contents (https://blog.csdn.net/chenxipu123/article/details/113523712).
1. Create an empty project , No detailed records .
2. Save the default level as LevelOne, Add blueprint roles 、 Player controller 、 Game mode three blueprints , And change the name , As shown in the figure below .

3. Modify the world scene settings , Set the game mode overload separately 、 Default pawn class 、 The player controller three items are the three objects created in the previous step .

4. Open project settings , Add the... Of the keyboard wasd Axis mapping with mouse movement , Used to control character movement and rotation .

5. Double click to open the created role blueprint class (MyCharacter), Switch to the event chart , Add the following control event , compile , preservation .

7. Add jump control , In project settings -》 Input -》 Operation mapping , Add the space bar to control the skip operation .

8. Double click to open the created role blueprint class (MyCharacter), Switch to the event chart , Add jump related operations , By setting CharacterMovement The jump in z Speed to control the jumping height, etc , compile , preservation .

9. stay UE4 Run... In the main window , You can control the character to move forward, backward, left and right , Up and down rotation 、 Jump and other operations .
边栏推荐
- Why is BeanUtils not recommended?
- [opencv450 samples] read the image path list and maintain the proportional display
- Day3 data types and operators summary and job
- jdbc常见异常及错误解决办法汇总
- Comp2913 database
- Solve 'tuple' object has no attribute 'lower‘
- 关于go中资源泄漏/goroutine泄漏/内存泄漏/CPU打满等情况分析
- Hibernate core api/ configuration file / L1 cache details
- Repoptimizer: it's actually repvgg2
- QComboBox下拉菜单中有分隔符Separator时的样式设置
猜你喜欢

Fegin client entry test

UE4_UE5結合offline voice recognition插件做語音識別功能

漏刻有时API接口实战开发系列(13):小鹅通云服务PHP-API二维数组传参解决方案

UE4_UE5结合offline voice recognition插件做语音识别功能

How to use drawing comparison function in CAD

Beacon realizes asset management and indoor positioning based on 5.2 ultra-low power Bluetooth module efr32 (bg22ax)

How to add cartoon characters to the blog park?

音频基础知识以及PCM转WAV

二进制、16进制、大端小端

When are the three tools used for interface testing?
随机推荐
Efr32bg22 ble module (low power Bluetooth communication module) at command test
Day4 branch and loop summary and operation
软件测试面试一直挂,面试官总是说逻辑思维混乱,怎么办?
C language (I)
Leetcode (435) - no overlapping interval
CSDN添加页内跳转和页外指定段落跳转
character string
CAD中图纸比较功能怎么用
Konva series tutorial 2: drawing graphics
Xampp重启后,MySQL服务就启动不了。
Qt Utf8 与 Unicode 编码的互相转换, Unicode编码输出为格式为 &#xXXXX
Summary of common JDBC exceptions and error solutions
Multithreaded learning 2- call control
信息学奥赛一本通 1353:表达式括号匹配(stack) | 洛谷 P1739 表达式括号匹配
C1. k-LCM (easy version)-Codeforces Round #708 (Div. 2)
Hibernate entity class curd, transaction operation summary
自定义QComboBox下拉框,右对齐显示,下拉列表滑动操作
Uni app -- listen for the exit of the return key
golang Make a list of intervals with sequential numbers
QComboBox下拉菜单中有分隔符Separator时的样式设置