# Contact

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

```
struct Contact
```

Contact describes a touch between two colliders from the receiver's side.
Normal points from the other body into this one, RelativeVelocity is this body's velocity relative to the other at Point.

## Normal

```
field Normal Vec2
```

Points from the other body into the body receiving the collision callback; the opposite receiver gets the negated direction.

## NormalImpulse

```
field NormalImpulse float
```

Stores the summed normal impulse at the contact, in mass×world-units/second. An exit event reports zero.

## OtherCollider

```
field OtherCollider NodeRef
```

References the other side's collider node, not necessarily its rigid-body node. Check validity if that node may have been destroyed.

## Point

```
field Point Vec2
```

Stores the world-space contact point in world units, averaged when the manifold has several points. Exit events retain the last known point.

## RelativeVelocity

```
field RelativeVelocity Vec2
```

Stores this body's velocity relative to the other at Point, in world units per second, including angular motion at that point.

## SelfCollider

```
field SelfCollider NodeRef
```

References the receiving side's collider node; it can differ from the rigid-body node when the collider is a child.
