检查游戏中的碰撞

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

Windows
MacOS
Linux

这里有几个控制台命令,您可以在游戏中用它们获得关于游戏中碰撞的信息。

  1. 运行游戏。

  2. `(反勾号/重音符键)调出控制台输入框。

  3. 输入下列命令之一:

    • show COLLISION - 此命令将画出关卡中使用的所有碰撞模型和阻挡体积。

      COLREF_showCollision.png

    • stat game - 此命令会向你显示关于各种不同碰撞所用时间的有用统计信息。

      Collision_StatGame.png

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