提高 nCloth 碰撞的精确度
选择要提高其精确度并改进其碰撞的 nCloth 或被动对象。
在“属性编辑器”(Attribute Editor)中,执行以下操作:
调整 nCloth 或被动对象的“厚度”(Thickness)。选择 nClothShape 或 nRigidShape 选项卡,然后在碰撞标志区域中更改“厚度”(Thickness)值。为获得最佳效果,碰撞体积看上去应紧贴 nCloth。
调整 nCloth 对象的“自碰撞厚度”(Self Collision Thickness)。选择 nClothShape 选项卡,然后在“碰撞”(Collisions)部分中,更改“自碰撞宽度比例”(Self Collide Width Scale)值。
调整 nCloth 对象的“碰撞标志”(Collision Flag)。选择 nClothShape 选项卡,然后在“碰撞”(Collisions)部分中,更改“碰撞标志”(Collision Flag)下拉列表中的选择。选择“面”可创建精确度最高的碰撞;选择“顶点”(Vertex)可创建精确度最低的碰撞。
调整 nCloth 的“自碰撞标志”(Self Collision Flag)。选择 nClothShape 选项卡,然后在“碰撞”(Collisions)部分中,更改“自碰撞标志”(Self Collision Flag)下拉列表中的选择。
增大 nCloth 的碰撞迭代次数,方法是在 nClothShape 选项卡的质量设置(Quality Settings)区域中,调整其最大自碰撞迭代次数(Max Self Collide Iterations)属性。
解决 nCloth 的穿透,方法是在 nClothShape 和 nRigidShape 选项卡的质量设置(Quality Settings)区域中,调整其陷阱检查(Trapped Check)、向外推(Push Out)和交叉推力(Crossover Push)属性。