Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MeshColliderCookingOptions

Cooking options that are available with MeshCollider.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
[Flags]public enum MeshColliderCookingOptions

Fields

Value

Description

CookForFasterSimulationToggle between cooking for faster simulation or faster cooking time.
EnableMeshCleaningToggle cleaning of the mesh.
NoneNo optional cooking steps will be run.
UseFastMidphaseDetermines whether to use the fast midphase structure that doesn't require R-trees.
WeldColocatedVerticesToggle the removal of equal vertices.