# Components

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

These components make a node part of the simulation. Each has its own page in the reference with every field.

| Component | Purpose |
|---|---|
| [Rigid Body 2D](/ref/physics.Body2D.md) | makes the node a body: `static`, `kinematic` or `dynamic` |
| [Box](/ref/physics.BoxCollider2D.md), [Circle](/ref/physics.CircleCollider2D.md), [Capsule](/ref/physics.CapsuleCollider2D.md), [Polygon](/ref/physics.PolygonCollider2D.md) and [Edge Collider 2D](/ref/physics.EdgeCollider2D.md) | shapes |
| [Distance Joint 2D](/ref/physics.DistanceJoint2D.md) | keeps a distance to the `Target` body, rigid or springy |
| [Revolute Joint 2D](/ref/physics.RevoluteJoint2D.md) | pins to the `Target` body at `Anchor`, with an optional limit and motor |

Every collider has `Offset`, `IsTrigger`, `Friction`, `Restitution` and `Density`.

- Capsules lie along the node's local X axis. `Length` includes the caps.
- Polygons are convex, with 3 to 8 points.
- Edge colliders are polylines for level geometry. `Loop` closes them. `OneSided` makes them solid only from the side the points wind towards: points from left to right are solid from above.

A body's `Type` decides how it moves: `static` never moves, `kinematic` moves by its velocity and ignores forces, `dynamic` reacts to forces and contacts. Its velocity and whether it is awake are runtime state, listed on the [Rigid Body 2D](/ref/physics.Body2D.md) page.
