Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
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.
CloseDetails about a specific point of contact involved in a 2D physics collision.
See Also: Collision2D class.
collider | The collider attached to the object receiving the collision message. |
normal | Surface normal at the contact point. |
otherCollider | The incoming collider involved in the collision at this contact point. |
point | The point of contact between the two colliders in world space. |