当前位置:网站首页>UE4 靠近物体时显示文字,远离时文字消失
UE4 靠近物体时显示文字,远离时文字消失
2022-07-26 04:22:00 【Zhichao_97】
描述:当角色靠近门时,门上显示“按F开门”的文字,当角色远离门的时候,文字不显示。
实现效果:

实现步骤:
1.创建一个蓝图类,命名为Door_BP,依次创建组件:DoorFrame、Door、TextRender、Box
其中,DoorFrame、Door为静态网格体,TextRender为文字渲染组件,Box为盒体碰撞组件

2.编辑事件图表如下图
4.摆放好组件的位置

5.编辑文本渲染组件的文本和颜色等

边栏推荐
- How is the launch of ros2 different?
- ASP. Net core actionfilter filter details
- (translation) timing of website flow chart and user flow chart
- AcWing. 102 best cattle fence
- How to download the supplementary literature?
- AWS Support Plan
- 华为高层谈 35 岁危机,程序员如何破年龄之忧?
- Web Test Method Encyclopedia
- Under the high debt of Red Star Macalline, is it eyeing new energy?
- 【SVN】一直出现 Please execute the ‘Cleanup‘ command,cleanup以后没有反应的解决办法
猜你喜欢

1. Mx6u system migration-6-uboot graphical configuration

解析Steam教育的课程设计测评体系

Which websites can I visit to check the latest medical literature?

Recommendation | DBT skills training manual: baby, you are the reason why you live

What if win11 cannot wake up from sleep? Solution of win11 unable to wake up during sleep

机器学习之信用卡欺诈检测
远坂凛壁纸

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

Pat class a 1039 course list for student

1. Mx6u-alpha development board (main frequency and clock configuration experiment)
随机推荐
机器学习之信用卡欺诈检测
makefile知识再整理(超详细)
ASP. Net core actionfilter filter details
egg-sequelize TS编写
I.MX6U-ALPHA开发板(GPIO中断实验)
Matlab drawing
零售连锁门店收银系统源码管理商品分类的功能逻辑分享
Under the high debt of Red Star Macalline, is it eyeing new energy?
Acwing game 61 [End]
sorting and searching 二分查找法
Maximum average value of continuous interval
工程师如何对待开源 --- 一个老工程师的肺腑之言
生活相关——一个华科研究生导师的肺腑之言(主要适用于理工科)
1. Mx6u-alpha development board (GPIO interrupt experiment)
Several methods of realizing high-low byte or high-low word exchange in TIA botu s7-1200
SwiftUI一日速成
VM虚拟机 没有未桥接的主机网络适配器 无法还原默认配置
解析Steam教育的课程设计测评体系
【二叉树】二叉树中的最长交错路径
Dijikstra (preprocessing first) +dfs, relocation truncated to fit