Documentation

Unity Engine

Unity Engine

useContactFiltering

Whether PhysicsDebugWindow takes the PhysicsVisualizationSettings filtering settings into account when visualizing contacts.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool useContactFiltering { get; set; }

Remarks

If you set this property to true, the PhysicsDebugWindow takes PhysicsVisualizationSettings filtering settings into account when collecting contacts for visualization.
If you set this property to false, the PhysicsDebugWindow visualizes all contacts.