当前位置:网站首页>UE4 switching of control rights of multiple roles
UE4 switching of control rights of multiple roles
2022-07-26 04:30:00 【Zhichao_ ninety-seven】
Realization effect :

Implementation steps :
1. First, drag into the scene 3 A character

2. Select all characters in the world outline ( Click on the first role , Hold down shift Click on the last or Hold down Ctrl Click on the three roles in turn )

3. Open the stage blueprint

4. Drag the three characters into the level blueprint
5. Create player controllers and control nodes ( To change the role to be manipulated )

6. Copy two more control nodes , Because there is 3 A character

7. establish MultiGate node

8. Click to add another pin

9. attachment

10. Create a keyboard 1 node , Then click compile

11. Let a character get control first

At this point, you can switch in turn 3 Control of roles , But it cannot be reset , Just can't start from 3 Roles switch back to the first role .
12. You can add a node to reset

or
Add a custom event to reset

or
On the hook Loop
The effect is as follows :

How to add transition effect when switching roles ?
13. Create two new nodes as shown in the following figure

14. Set the switching time to 2 second

15. Add delay node

16. Make two more copies Use blending to set view targets and Delay

边栏推荐
猜你喜欢

Keil v5安装和使用

机器学习之信用卡欺诈检测

数组排序3

吴恩达机器学习课后习题——逻辑回归

ASP. Net core actionfilter filter details

Matlab drawing

一个sql server查询截止某个日期最新的记录

Offline installation of idea plug-in (continuous update)

Steam science education endows classroom teaching with creativity

Design and implementation of smart campus applet based on cloud development
随机推荐
Function knowledge points
qt编译报错整理及Remote模块下载
egg-ts-sequelize-CLI
数组排序3
How does win11 change the power mode? Win11 method of changing power mode
MapReduce中分区数与ReduceTask个数关系比较
How to write the abbreviation of the thesis?
3、 @requestmapping annotation
一个sql server查询截止某个日期最新的记录
MySQL only checks the reasons for the slow execution of one line statements
青少年创客教育的创意设计原理
低成本、快速、高效搭建数字藏品APP、H5系统,扇贝科技专业开发更放心!
解决:RuntimeError: Expected object of scalar type Int but got scalar type Double
[learning notes] agc041
Array sort 3
性能和成本的综合架构:单元化架构
吴恩达机器学习课后习题——线性回归
UE4 靠近物体时显示文字,远离时文字消失
Acwing刷题
VM virtual machine has no un bridged host network adapter, unable to restore the default configuration