Collider Basics

Simon Pham
2 min readApr 29, 2024

In today’s blog post, let’s talk about colliders in Unity.

What is a collider in Unity?

In Unity, a collider is a component that you attach to a GameObject to give it the ability to interact with other GameObjects in the scene.

Primitive Colliders

Primitive colliders refer to basic geometric shapes that are provided as built-in collider components, commonly used for collision detection and physics interactions. The main types of primitive colliders are Box Collider, Sphere Collider, and Capsule Collider.

A box collider
A capsule collider

Compound Colliders

A compound collider is made of multiple collider components on the same GameObject. When you have an object with a simple shape like a ball, a box, or an egg, a single primitive collider is all you need. However, for advanced objects like a tripod or a light, you will need multiple colliders to create an accurate representation of its shape.

Here is an example of a compound collider that I created for a tripod. This compound collider consists of six box colliders and one capsule collider.

A compound collider for a light tripod