在虚幻引擎中,静态网格体的模拟物理选项为灰色怎么办?

很简单,造成这个选项灰色的原因是该静态网格体没有碰撞,解决办法为:双击点开静态网格体,点击上面的碰撞菜单,按照实际需求添加碰撞,保存,再回来看就会发现模拟物理选项已经可以点击了。

官方解释:

If true, this body will use simulation. If false, will be ‘fixed’ (ie kinematic) and move where it is told. For a Skeletal Mesh Component, simulating requires a physics asset setup and assigned on the SkeletalMesh asset. For a Static Mesh Component, simulating requires simple collision to be setup on the StaticMesh asset.

如果是勾选状态的,这个物体将使用模拟。如果为取消勾选,将是“固定的”(即运动学),并移动到它被告知的地方。

对于骨骼网格组件,模拟需要一个物理资产设置和分配在骨骼网格资产。

对于一个静态网格组件,模拟需要在StaticMesh资产上设置简单的碰撞。

20220409

www.gongyesheji.org alan