Scripting API

ContactPoint2D

struct in UnityEngine · UnityEngine.Physics2DModule

11 of 13 of Unity's membersUnity's documentation
In Tassix

A contact between two 2D colliders; the normal points from collider to otherCollider.

Properties 11

Collider2D collider { get; }
bool enabled { get; }
Vector2 normal { get; }
float normalImpulse { get; }
Collider2D otherCollider { get; }
Rigidbody2D? otherRigidbody { get; }
Vector2 point { get; }
Vector2 relativeVelocity { get; }
Rigidbody2D? rigidbody { get; }
float separation { get; }
float tangentImpulse { get; }

Not in Tassix yet 2

bounciness friction