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

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

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

4.让事件一开始就执行

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

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

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

边栏推荐
- Thinking (88): Use protobuf custom options for multi-version management of data
- 2022 Hangzhou Electric Multi-School 1st Game
- 沃谈小知识 |“远程透传”那点事儿
- Android Practical Development - Kotlin Tutorial (Introduction - Login Function Implementation 3.3)
- Swing有几种常用的事件处理方式?如何监听事件?
- Leading the highland of digital medicine, Zhongshan Hospital explores to create a "new paradigm" for future hospitals
- leetcode-每日一题1403. 非递增顺序的最小子序列(贪心)
- Redis1:Redis介绍、Redis基本特性、关系型数据库、非关系型数据库、数据库发展阶段
- 静态方法获取配置文件数据
- You may use special comments to disable some warnings. 报错解决的三种方式
猜你喜欢

UE4 第一人称角色模板 添加冲刺(加速)功能

告白数字化转型时代,时速云镌刻价值新起点

Web3.0 Dapps - the road to the future financial world

UE4 opens doors with overlapping events

Use CH341A to program external Flash (W25Q16JV)

ASP.NET应用程序--Hello World

Getting Started with Kubernetes Networking

UE4 为子弹蓝图添加声音和粒子效果

presto启动成功后出现2022-08-04T17:50:58.296+0800 ERROR Announcer-3 io.airlift.discovery.client.Announcer

UE4 通过互动(键盘按键)开门
随机推荐
测试薪资这么高?刚毕业就20K
On governance and innovation, the 2022 OpenAtom Global Open Source Summit OpenAnolis sub-forum came to a successful conclusion
Thinking (88): Use protobuf custom options for multi-version management of data
GC Gaode coordinate and Baidu coordinate conversion
Why is the pca component not associated
运维监控系统之Open-Falcon
21天学习挑战赛(2)图解设备树的使用
public static
List asList(T... a) What is the prototype? Turn: Charles Handy: Who you are is more important than what you do
Developing Hololens encountered The type or namespace name 'HandMeshVertex' could not be found..
为什么pca分量没有关联
MRTK3开发Hololens应用-手势拖拽、旋转 、缩放物体实现
ffmpeg -sources分析
The sword refers to Offer--find the repeated numbers in the array (three solutions)
Growth-based checkerboard corner detection method
Mathematics - Properties of Summation Symbols
UE4 第一人称角色模板 添加冲刺(加速)功能
Static method to get configuration file data
IJCAI2022 | DictBert: Pre-trained Language Models with Contrastive Learning for Dictionary Description Knowledge Augmentation
Package zip is not available, but is referred to by another package.