Box2D.NET
3.1.0.500
See the version list below for details.
dotnet add package Box2D.NET --version 3.1.0.500
NuGet\Install-Package Box2D.NET -Version 3.1.0.500
<PackageReference Include="Box2D.NET" Version="3.1.0.500" />
<PackageVersion Include="Box2D.NET" Version="3.1.0.500" />
<PackageReference Include="Box2D.NET" />
paket add Box2D.NET --version 3.1.0.500
#r "nuget: Box2D.NET, 3.1.0.500"
#:package Box2D.NET@3.1.0.500
#addin nuget:?package=Box2D.NET&version=3.1.0.500
#tool nuget:?package=Box2D.NET&version=3.1.0.500
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.
✨ 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
- To verify the run for all modules, run Box2D.NET.Samples
- on the Windows platform, you need to install the redistributable package
- Microsoft Visual C++ Redistributable Package
▶️ 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
Box2D.NET Links
Official Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Box2D.NET:
| Package | Downloads |
|---|---|
|
Vigilance
2D Game Engine |
|
|
Vigilance.Debug
2D Game Engine |
|
|
Box2D.NET.Shared
Box2D.NET - Box2D.NET - a port of Box2D, is a 2D physics engine for games, .NET C#, Unity3D, servers |
|
|
MainframeEngine
A modular C# game engine on Vulkan: Godot-style scene tree with source-generated serialization, PBR materials and shadows, RmlUi game UI, Jitter2/Box2D physics, SoundFlow audio, multiplayer, gettext localization and Spine animation. Includes the source generator, the native libraries and the engine content; run a game with GameHost. |
|
|
FS.GG.Game.Physics.Box2D
Opt-in headless Box2D.NET physics runtime with fixed ticks, immutable observations and game entity IDs. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Box2D.NET:
| Repository | Stars |
|---|---|
|
stride3d/stride-community-toolkit
Collection of helpers and extensions for Stride Game Engine developers. Simplifies and demonstrates common developer tasks building experiences for Stride with .NET.
|
