CookForFasterSimulation
Toggle between cooking for faster simulation or faster cooking time.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
CookForFasterSimulation = 2
Remarks
When set, this runs some extra steps to guarantee the resulting mesh is optimal for run-time performance. This affects performance of the physics queries as well as contacts generation. If not set, produces the result as fast as possible. Consequently, the cooked MeshCollider might not be optimal.