Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pointB

The contact point on the second shape's surface, in world space. Sampled when the contact is updated, so it lags behind when contact recycling is used.
Read time 1 minuteLast updated 18 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly Vector2 pointB { get; }

Remarks

This is read-only during a pre-contact callback, as the solver does not read it.