UE4碰撞体项目设置

路径:Edit=>ProjectSettings=>Engine=>Collision

ObjectChannels

You can have up to 18 custom channels including object and trace channels.

你可以有多达18个自定义通道,包括对象和跟踪通道。

If you delete an object type that is being used by the game,any uses of that type will revert to worldStatic

如果你删除一个正在被游戏使用的对象类型,该类型的任何使用都将恢复为worldStatic

Name

Default Response

TraceChannels

This is the list of trace channels for your project. If you delete a trace channel that is being used by the game,the behavior of the trace is undefined.

如果你删除了一个正在被游戏使用的检测通道,跟踪的行为是未定义的。

Preset

You can modify any of your project profiles.Please note that if you modify profile,it can chang collision behavior. Please be careful when you chang currently exisiting (used) collision profiles.

您可以修改任何项目概要文件。请注意,如果你修改配置文件,它可以改变碰撞行为。当你改变当前存在的(使用的)碰撞配置文件时,请小心。

  • NoCollision,无碰撞,字面意思。

  • QueryOnly,通常用在不需要进行物理模拟的情况,仅仅是发出“询问”---你撞到我了么?反馈状态,例如射线检测,扫描等。

  • PhysicsOnly,仅用于物理,需要物理模拟的情况,比如玩家骨骼,物理约束的情况。

  • CollisionEnable,Query和Physic都生效

可以配置关于碰撞体和对应Trace Type和Object Type的对应处理关系。


版权声明:本文为zzZZ20150101原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。