当前位置:网站首页>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 .
边栏推荐
- Episode 3: thread synchronization using thread lock
- Idea FAQ collection
- The first public available pytorch version alphafold2 is reproduced, and Columbia University is open source openfold, with more than 1000 stars
- cookie、session、token
- 【无标题】打开一个项目连接,无法正常显示时,ping一下ip
- 我的vscode
- Day4 branch and loop summary and operation
- 【opencv450-samples】读取图像路径列表并保持比例显示
- [untitled] open an item connection. If it cannot be displayed normally, Ping the IP address
- String对象(常量)池
猜你喜欢

CTS RTS RX TX in serial port flow control UART (direct communication between serial port module and MCU)

【opencv450-samples】inpaint 使用区域邻域恢复图像中的选定区域

Xampp重启后,MySQL服务就启动不了。

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

ACM. HJ16 购物单 ●●

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

Live800 online customer service system: do business across time and space, starting from each interaction

QComboBox下拉菜单中有分隔符Separator时的样式设置

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

#23class介绍
随机推荐
RK3568+鸿蒙工控板工业网关视频网关解决方案
Ad20 learning notes II
Go语言逃逸分析全纪录
Go language escape analysis complete record
Problem recording and thinking
jdbc常见异常及错误解决办法汇总
C. Fibonacci Words-April Fools Day Contest 2021
Multithreaded learning 1
Comp2913 database
After xampp restarts, the MySQL service cannot be started.
hiberate核心API/配置文件/一级缓存详解
【无标题】打开一个项目连接,无法正常显示时,ping一下ip
Extraction system apk
28 rounds of interviews with 10 companies in two and a half years (including byte, pinduoduo, meituan, Didi...)
自定义QComboBox下拉框,右对齐显示,下拉列表滑动操作
Live800在线客服系统:跨越时空做生意,从每次互动开始
UE4 学习记录二 给角色添加骨架,皮肤,及运动动画
What is Unified Extensible Firmware Interface (UEFI)?
Kotlin空指针Bug
When are the three tools used for interface testing?