百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

Box2D.NET

> 编程语言
开源

Box2D.NET - 这是一个基于 C# 的 Box2D 端口,是一个用于游戏、.NET、Unity3D 和服务器的 2D 物理引擎。

197 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Box2D.NET - 这是一个基于 C# 的 Box2D 端口,是一个用于游戏、.NET、Unity3D 和服务器的 2D 物理引擎。

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

bash
dotnet run --project src/Box2D.NET.Samples --framework net10.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

  • Box2D.NET/issues

Original Box2D Links

  • box2d.org
  • box2d/issues
  • box2d.org/documentation

You can use the original Box2D documentation as a reference, since the Box2D.NET API closely mirrors the original implementation. If you are new to Box2D, we recommend starting with the original documentation to learn the basics and core concepts.

Key Naming Conventions:

  • Properties and methods: Start with lowercase (matches original Box2D)
  • Classes and structs: Start with Uppercase (differs from original Box2D)

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#2d2d-gamebox2dbox2d-physics-engine

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言