Function Physics2DDirectBodyState.getContactCollider

Returns the collider's RID.

RID getContactCollider (
  const(long) contact_idx
) nothrow @nogc const;