Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Collider shapes

The different collider shapes available, and how collider shape complexity affects performance.
Read time 1 minuteLast updated 21 days ago

Colliders are available in different shape configurations. A collider’s shape defines how accurately the collider matches the Mesh shape, and how computationally efficient the collider is.

Topic

Description

Introduction to collider shapesOverview of the different collider shapes in Unity.
Primitive collider shapesPrimitive collider shapes are built-in, pre-calculated collider shapes in Unity (Box, Sphere and Capsule colliders).
Mesh collidersMesh colliders create collision geometry that matches the shape of their associated Mesh, for extremely accurate collisions.
Wheel collidersWheel colliders use raycasting to form wheel-shaped collision geometry with suspension and tyre-based friction.
Terrain collidersTerrain colliders create collision geometry that matches the shape of their associated Terrain, for extremely accurate collisions.
Compound collidersCompound colliders are a combination of multiple other colliders, which together have a single center of mass.