当前位置:网站首页>UE4 多个角色控制权的切换
UE4 多个角色控制权的切换
2022-07-26 04:22:00 【Zhichao_97】
实现效果:

实现步骤:
1.首先向场景中拖入3个角色

2.在世界大纲中选中所有角色 (点击第一个角色,按住shift再点击最后一个 或 按住Ctrl依次点击三个角色)

3.打开关卡蓝图

4.将三个角色拖入关卡蓝图中
5.创建玩家控制器和控制节点(来更改要操控的角色)

6.再复制两个控制节点,因为一共有3个角色

7.创建MultiGate节点

8.点击再添加一个引脚

9.连线

10.创建一个键盘 1 节点,再点击编译

11.让一个角色先获得控制权

此时已经可以依次切换3个角色的控制,但是不能重置,就是无法从第3个角色切换回第一个角色。
12.可以添加一个节点来重置

或
添加一个自定义事件来重置

或
勾上 Loop
此时效果如下:

如何添加切换角色时的过渡效果?
13.新创建如下图的两个节点

14.设置切换时间为2秒

15.添加延迟节点

16.再复制两份 使用混合设置视图目标 和 延迟

边栏推荐
- 综合评价与决策方法
- Tutorial on using the one click upgrade function of the rtsp/onvif protocol video platform easynvr service
- How to download the supplementary literature?
- 支持代理直连Oracle数据库,JumpServer堡垒机v2.24.0发布
- Support proxy direct connection to Oracle database, jumpserver fortress v2.24.0 release
- LeetCode:1184. 公交站间的距离————简单
- 软模拟光栅化渲染器
- P-norm (2-norm is Euclidean norm)
- [binary tree] the longest interleaved path in a binary tree
- SEGGER Embedded Studio找不到xxx.c或者xxx.h文件
猜你喜欢

Credit card fraud detection based on machine learning

VM虚拟机 没有未桥接的主机网络适配器 无法还原默认配置

荐书|《DBT技巧训练手册》:宝贝,你就是你活着的原因

MySQL - multi table query - Cartesian product sum, correct multi table query, equivalent connection and unequal connection, inner connection and outer connection

力扣每日一题-第42天-661. 图片平滑器

RTSP/Onvif协议视频平台EasyNVR服务一键升级功能的使用教程

Support proxy direct connection to Oracle database, jumpserver fortress v2.24.0 release

How does win11 set the theme color of the status bar? Win11 method of setting theme color of status bar

1. If function of Excel

低成本、快速、高效搭建数字藏品APP、H5系统,扇贝科技专业开发更放心!
随机推荐
SEGGER Embedded Studio找不到xxx.c或者xxx.h文件
MySQL日志分类:错误日志、二进制日志、查询日志、慢查询日志
What are the duplicate check rules for English papers?
Getting started with mongodb Basics
I.MX6U-系统移植-6-uboot图形化配置
Dijikstra (preprocessing first) +dfs, relocation truncated to fit
香甜的黄油
Linear basis property function code to achieve 3000 words detailed explanation, with examples
The era of smart clothes has come. Zhinar invites you to discuss swords in Yangcheng. Guangya Exhibition is waiting for you on August 4
Day24 job
Soft simulation rasterization renderer
建设面向青少年的创客教育实验室
I.MX6U-ALPHA开发板(主频和时钟配置实验)
What are the consequences and problems of computer system restoration
Function knowledge points
【SVN】一直出现 Please execute the ‘Cleanup‘ command,cleanup以后没有反应的解决办法
TIA botu WinCC Pro controls the display and hiding of layers through scripts
图互译模型
Mantium 如何在 Amazon SageMaker 上使用 DeepSpeed 实现低延迟 GPT-J 推理
Postman 导入curl 、导出成curl、导出成对应语言代码