# avianphysics/avian

ECS-driven 2D and 3D physics engine for the Bevy game engine.

Repository: https://github.com/avianphysics/avian
Canonical: https://ross.abutalabs.com/products/avian
Homepage: https://crates.io/crates/avian3d
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: bevy, physics, physics-engine, 2d, 3d, rust, simulation, game-development, gamedev
Last push: 2026-08-13T21:42:44+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 77, longevity 100
- inputs: {"age_days": 1557, "days_push": 20, "days_rel": 74, "gap_med": 58, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3148, forks 279 (observed 2026-08-28T04:07:46.060794+00:00)

## What it is
Avian is an ECS-driven 2D and 3D physics engine built natively for the Bevy game engine in Rust. It provides rigid body dynamics, collision detection via Parry, joints and constraints, and spatial queries, all integrated as modular Bevy plugins.

## Use cases
- add physics simulation to a Bevy game
- simulate rigid bodies with gravity and collisions in Rust
- do raycasting and shapecasting queries in a Bevy project
- attach joints and constraints between game entities
- generate colliders from meshes automatically
- build 2D and 3D games with an ECS-native physics engine

## When to choose
- you are building a game or simulation with Bevy and need physics
- you want a physics engine that integrates with the ECS instead of wrapping an external engine
- you need modular, replaceable physics components like custom collision backends or joints
- you want an actively maintained, well-documented Rust physics library

## When to avoid
- your project does not use Bevy
- you need a battle-tested engine for a large commercial title where mature alternatives like Rapier or PhysX are preferred
- you need features beyond its current scope such as advanced fluid or soft-body simulation

## Facets
- artifact type: library
- maturity: active
- function: simulation, game-engine, graphics
- domain: simulation, graphics
- platform: rust, cross-platform, game-engine
- tags: bevy, physics-engine, ecs, 2d-physics, 3d-physics, collision-detection, rigid-body-dynamics, xpbd, raycasting, gamedev, game-development

## Member repositories
- avianphysics/avian (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:46.060794+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:25:55.917196+00:00, confidence not recorded.
  - readme: https://github.com/avianphysics/avian (fetched 2026-08-28T04:07:46.060794+00:00, sha 0f7caf93cdc3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
