Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closepoint | A point in world space. |
bool Whether the point overlapped any of the Rigidbody2D colliders.
Check if any of the Rigidbody2D colliders overlap a point in space.
Any EdgeCollider2D attached to the Rigidbody2D won't be checked for an overlapping point as they don't have any area therefore do not support this.