Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pointCount

The number of manifold points available, in the range [0, 2]. During a pre-contact callback this may be lowered, and setting it to zero cancels the contact so it is not solved this step.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public int pointCount { readonly get; set; }