MicroEngine.Physics.Box2D 0.6.0-alpha.1

This is a prerelease version of MicroEngine.Physics.Box2D.
dotnet add package MicroEngine.Physics.Box2D --version 0.6.0-alpha.1
                    
NuGet\Install-Package MicroEngine.Physics.Box2D -Version 0.6.0-alpha.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MicroEngine.Physics.Box2D" Version="0.6.0-alpha.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MicroEngine.Physics.Box2D" Version="0.6.0-alpha.1" />
                    
Directory.Packages.props
<PackageReference Include="MicroEngine.Physics.Box2D" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MicroEngine.Physics.Box2D --version 0.6.0-alpha.1
                    
#r "nuget: MicroEngine.Physics.Box2D, 0.6.0-alpha.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MicroEngine.Physics.Box2D@0.6.0-alpha.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MicroEngine.Physics.Box2D&version=0.6.0-alpha.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MicroEngine.Physics.Box2D&version=0.6.0-alpha.1&prerelease
                    
Install as a Cake Tool

MicroEngine.Physics.Box2D

The Box2D v3 backend of MicroEngine's 2D physics contract (IPhysicsWorld2D): Box2DPhysicsWorld2D, native Box2D 3.2.0 behind the engine's own flat C layer. Besides the common contract it declares dynamic bodies, rotation, circles, capsules, convex polygons, continuous collision, friction and restitution, mass properties and one-way platforms; an undeclared request throws PhysicsCapabilityException.

using var physics = new Box2DPhysicsWorld2D(new Box2DWorldOptions { UnitsPerMeter = 32, YDown = true });

Optional: games on tile levels need only the tile backend in MicroEngine. The package carries the native library for win-x64, linux-x64, osx-arm64, osx-x64, android-arm64, android-x64 and ios-arm64 (runtimes/<rid>/native) and the static libraries browser builds link (buildTransitive adds them). Box2D is MIT-licensed (LICENSE-box2d.txt).

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.0-alpha.1 37 11/13/2026