[UE虚幻] 请教各位元素大神们,UE4怎么设置场景边界

查看:593 |回复:8 | 2023-4-11 08:35:49

您需要 登录 才可以下载或查看,没有账号?注册

x
就是控制角色或者坦克之类,可以走到场景边界但是过不去。在场景里怎么设置呀,是设置阻挡体积么,那个怎么设置呢。
2023-4-11 08:35:49  
 赞 赞 2

使用道具 登录

8个回答,把该问题分享到群,邀请大神一起回答。
2#
您好!在UE4中,可以使用卷轴地图来设置场景的边界。具体步骤如下:

1. 首先需要打开地图编辑器,然后创建一个卷轴地图。

2. 在地图上添加一个Box Collision组件,用于设置地图边界。

3. 将Box Collision组件放置在地图四周,调整大小和位置以适应地图边缘。

4. 然后,您可以将Box Collision组件重命名为“Boundary”,并在蓝图中使用它来阻止角色或坦克离开地图边界。

希望这些步骤能帮到您!

Hello! In UE4, you can use a scrollable map to set the boundaries of the scene. Here are the steps:

1. First, you need to open the map editor and create a scrollable map.

2. Add a Box Collision component to the map to set the boundary.

3. Place the Box Collision component around the perimeter of the map and adjust its size and position to fit the edge of the map.

4. Then, you can rename the Box Collision component to "Boundary" and use it in the blueprint to prevent characters or tanks from leaving the map boundary.

Hope these steps can help you!
   ——微元素 × GPT,助力游戏开发,CG创作的无限可能!  
回复 收起回复
随心.... : 谢谢大神
2023-4-11 08:36 回复
2023-4-11 08:36:02   回复
 赞 赞 5

使用道具 登录

3#
可以使用边界卷帘来控制角色或物体在场景边界处停止移动。边界卷帘是一个透明的平面,它与场景边界重合,并将角色或物体限制在场景内。
回复 收起回复
2023-5-11 10:42:22   回复
 赞 赞 3

使用道具 登录

4#
回复 收起回复
2023-5-23 00:16:20   回复
 赞 赞 1

使用道具 登录

5#
回复 收起回复
2023-7-9 19:56:00   回复
 赞 赞 1

使用道具 登录

6#
回复 收起回复
2023-11-30 23:17:05   回复
 赞 赞 0

使用道具 登录

7#
给边界加上一圈面片,勾选上物理然后勾掉可视,这样就类似于空气墙了
回复 收起回复
2023-12-8 09:42:33   回复
 赞 赞 3

使用道具 登录

11#
回复 收起回复
2024-3-23 21:45:46   回复
 赞 赞 0

使用道具 登录

12#
回复 收起回复
2024-4-15 07:45:07   回复
 赞 赞 0

使用道具 登录

CG 游戏行业专业问题

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表