Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsQuery.DistanceInput

An input used for shape distance queries.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public struct PhysicsQuery.DistanceInput

Properties

Property

Description

shapeProxyAThe proxy for shape A.
shapeProxyBThe proxy for shape B.
transformAThe world transform for shape A
transformBThe world transform for shape B
useRadiiShould the proxy radius be considered?