为静态网格体添加一个 K-DOP 碰撞凸包

碰撞几何体创建和设置的内容指南。

Windows
MacOS
Linux
On this page

步骤

COLREF_collisionMenu_KDOP.png

Static Mesh EditorCollision 菜单下有一系列选项,名为 ##DOP,它们是 K-DOP 简单碰撞生成器。K-DOP 是包围体的一种,是 K 离散导向多面体(K discrete oriented polytope) 的缩写(K 是轴对齐平面的数字)。它抓取轴对齐的平面,将其尽力推向离网格体最近的位置。结果形态用作碰撞凸包。在 Static Mesh Editor 中,K 可为:

  • 10 - 方块有 4 条边形成斜角 - 可选择 X、Y 或 Z 轴对齐的边。

  • 18 -方块中所有边均形成斜角。

  • 26 - 方块中所有边和角均形成斜角。

请参考下图实例。此工具操作装满管状物、圆柱体和栏杆的包裹时十分实用。

kdop_sizes.jpg

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback