Skip to content

Box2D.NET - a port of Box2D, is a 2D physics engine for games, .NET C#, Unity3D

License

Notifications You must be signed in to change notification settings

ikpil/Box2D.NET

Repository files navigation

Box2D Logo

Box2D.NET

Box2D.NET is a C# port of the Box2D physics engine.
If you'd like to support the project, we'd appreciate starring(⭐) our repos on Github for more visibility.


GitHub License Languages GitHub repo size GitHub Repo stars GitHub Actions Workflow Status CodeQL Advanced GitHub commit activity GitHub issues GitHub closed issues GitHub Sponsors


demo


✨ Features

  • 🌿 Purity - Fully implemented in pure C#.
  • 💻 Compatibility - Ensuring seamless integration with the .NET platform and Unity3D.
  • 🌍 Cross-Platform Support - Easily integrates with all major platforms, including Linux, Windows, macOS

Box2D.NET is divided into multiple modules, each contained in its own folder:

  • Box2D.NET : A C# port of the Box2D physics engine for 2D physics simulations.
  • Box2D.NET.Shared : Shared code and utilities for Box2D.NET, for use in sample projects and by library users.
  • Box2D.NET.Samples : Sample projects to showcase the features of Box2D.NET
  • Box2D.NET.Test : Unit tests for Box2D.NET.

🚀 Getting Started

▶️ Running With Command Prompt

dotnet run --project src/Box2D.NET.Samples --framework net9.0 -c Release

🛠️ Integration

  • There are a few ways to integrate Box2D.NET into your project.
  • Source integration is the most popular and most flexible. Additionally, NuGet installation will also be supported in the future.

📚 Documentation & Links