C#

PhysicsExamples2D

Examples of various Unity 2D Physics components and features.

U

Unity-Technologies

Dernière activité 29 sept. 2026
Unity-Technologies/PhysicsExamples2D

737

étoiles

105

forks

0

issues ouvertes

2dphysics-2dphysics-simulation

Ce README est souvent en anglais.

Physics Examples

This repository contains test projects, examples, and a test package for Unity's 2D physics, spanning two API generations:

  • Sandbox Project — interactive playground scenes that use the physics API directly
  • Workshop Project — interactive workshop scenes that use the physics components
  • Examples Package - unsupported experimental example components
  • OldPhysics2D — examples that use the older "Physics2D" component API.

Branch Names

Each branch represents a specific version of Unity. As features are added in a public release, those features should be represented in that branch and future Unity version branches i.e. branch names such as "2022", "6000.3" (etc) exist.

  • master represents the Unity version currently in mid/late beta or final release.
  • unsupported/xxx represents versions that are in early releases and not yet stable.
  • 6000.x (etc) branches represent released Unity versions, kept as live branches while they are still supported.

Archived Versions

Older Unity version branches that are far out of support are not kept as live branches. They are archived as annotated tags named archive/<version> (for example archive/2019, archive/6000.1). A tag preserves the exact final state of that version permanently while keeping the branch list focused on supported versions.

To restore an archived version into a working branch:

git branch 2019 archive/2019

Acknowledgements

Thanks to Erin Catto (the creator of Box2D v3), upon which significant portions of the "Sandbox" and "Workshop" projects are based.

https://github.com/erincatto/box2d

Projets similaires

A collection of simple scripts to create 2D physics game, intended for giving workshops to a young audience

C#2d2d-physics-gamebeginner
UUnity-Technologies
973 étoiles162

Box3d Physics bindings for Unity

C#box3dgamedevphysics
SSuvitruf
256 étoiles20

Tech Demos for Unity 2D Features

C#
UUnity-Technologies
1 k étoiles171