当前位置:网站首页>UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
UE4 更改组件变量 (以修改第一人称角色模板的最大行走速度和跳跃高度为例)
2022-08-05 03:29:00 【Zhichao_97】
步骤:
1.打开FirstPersonCharacter蓝图

2.将其拖入事件图表中,从而产生引用,进而能够从组件中获取和设置变量

3.创建如下节点,包含最大行走速度和最大跳跃高度两个变量(变量类型为浮点型,默认值分别为500和300)

4.让事件一开始就执行

5.让变量变为公有,再点击编译

6.这样就可以修改这两个变量的值

7.在设置为想要的速度和高度的值后,如图我设置的为500、1000,点击编译蓝图-》
将实例更改应用到蓝图 ,从而来修改默认值

边栏推荐
- 从“能用”到“好用” 国产软件自主可控持续推进
- Beyond YOLO5-Face | YOLO-FaceV2 officially open source Trick+ academic point full
- 2022 Hangzhou Electric Multi-School 1st Game
- MRTK3 develops Hololens application - gesture drag, rotate, zoom object implementation
- sql怎么找字段里所有数据为空的字段
- UE4 后期处理体积 (角色受到伤害场景颜色变淡案例)
- [论文笔记] MapReduce: Simplified Data Processing on Large Clusters
- Details such as compiling pretreatment
- Why is the pca component not associated
- 2022 High-level installation, maintenance, and removal of exam questions mock exam question bank and online mock exam
猜你喜欢
随机推荐
[Storage] Dawning Storage DS800-G35 ISCSI maps each LUN to the server
UE4 第一人称角色模板 添加生命值和调试伤害
引领数字医学高地,中山医院探索打造未来医院“新范式”
Turn: Charles Handy: Who you are is more important than what you do
This year's Qixi Festival, "love vegetables" are more loving than gifts
Industry Status?Why do Internet companies prefer to spend 20k to recruit people rather than raise their salary to retain old employees~
rpc-remote procedure call demo
Mathematics - Properties of Summation Symbols
告白数字化转型时代,时速云镌刻价值新起点
Walter talked little knowledge | "remote passthrough" that something
Kubernetes 网络入门
UE4 通过与其它Actor互动开门
UE4 opens doors with overlapping events
Getting Started with Kubernetes Networking
Shell script: for loop and the while loop
XMjs cross-domain problem solving
UE4 通过互动(键盘按键)开门
[Software testing] unittest framework for automated testing
Package zip is not available, but is referred to by another package.
GC Gaode coordinate and Baidu coordinate conversion









