# bepuphysics2-master **Repository Path**: YunTanFeng/bepuphysics2-master ## Basic Information - **Project Name**: bepuphysics2-master - **Description**: 非常强大的物理引擎, 纯C#编写 - **Primary Language**: C# - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2024-08-15 - **Last Updated**: 2024-08-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bepuphysics v2

This is the repo for the bepuphysics v2 library, a complete rewrite of the C# 3d rigid body physics engine [BEPUphysics v1](https://github.com/bepu/bepuphysics1). The BepuPhysics and BepuUtilities libraries target .NET Standard 2.0 and should work on any supported platform. The demos are built on .NET Core 3.1 and require DX11. The physics engine heavily uses System.Numerics.Vectors types, so to get good performance, you'll need a compiler which can consume those types (like RyuJIT). To build the source, you'll need a recent version of Visual Studio with the .NET Core workload installed. Demos.sln references all relevant projects. For more information, see [Building](Documentation/Building.md). 这是BepupPhysics v2库的报告,它是对C#3d刚体物理引擎[BepupPhysics v1]的完全重写(https://github.com/bepu/bepuphysics1). BepuPhysics和BepuUtilities库以.NET标准2.0为目标,应该在任何受支持的平台上工作。演示基于.NET Core 3.1,需要DX11。 物理引擎大量使用System.Numerics.Vectors类型,因此为了获得良好的性能,您需要一个能够使用这些类型的编译器(如RyuJIT)。 要构建源代码,您需要安装了.NET核心工作负载的Visual Studio的最新版本。Demos.sln引用所有相关项目。有关更多信息,请参见[Building](Documentation/Building.md)。 ## Features - Spheres, capsules, boxes, triangles, cylinders, and convex hulls - Compounds of the above - Meshes - A [whole bunch of constraint types](BepuPhysics/Constraints/) - [Newts](Demos/Demos/NewtDemo.cs) - Linear and angular continuous collision detection - Extremely low cost sleep states for resting bodies - Efficient scene-wide ray and sweep queries - [Character controller example](Demos/Demos/Characters/CharacterDemo.cs) - At least somewhat extensible collision pipeline, with [example custom voxel collidable](Demos/Demos/CustomVoxelCollidableDemo.cs) - Highly nonidiomatic APIs - Super speediness - And a bunch of other miscellaneous stuff! -球体、胶囊、盒子、三角形、圆柱体和凸面外壳 -上述化合物 -网格 -[一大堆约束类型](BepuPhysics/Constraints/) -[Newts](演示/演示/NewtDemo.cs) -线性和角度连续碰撞检测 -休息身体的极低成本睡眠状态 -高效的场景范围的光线和扫描查询 -[字符控制器示例](Demos/Demos/Characters/CharacterDemo.cs) -至少有一些可扩展的碰撞管道,带有[示例自定义体素可碰撞](Demos/Demos/customvoxelclidabledemo.cs) -高度非惯用API -超快速 -还有一堆其他杂七杂八的东西! ## Links Report bugs [here on github](../../issues). Visit the [forums](https://forum.bepuentertainment.com) for discussion and questions. By user request, there's an [experimental discord server](https://discord.gg/ssa2XpY). I'll be focusing on the forum/github for long-form content, but if you like discord, now you can discord. [Building](Documentation/Building.md) [Getting Started](Documentation/GettingStarted.md) [Upgrading from v1, concept mapping](Documentation/UpgradingFromV1.md) [Q&A](Documentation/QuestionsAndAnswers.md) [Stability Tips](Documentation/StabilityTips.md) [Performance Tips](Documentation/PerformanceTips.md) [Packaging and Versioning](Documentation/PackagingAndVersioning.md) Check the [roadmap](Documentation/roadmap.md) for a high level look at where things are going. If you have too many dollars, we are willing to consume them through [github sponsors](https://www.github.com/sponsors/RossNordby). 报告错误[在github上的此处](../../issues)。 访问[论坛](https://forum.bepuentertainment.com)供讨论和提问。 根据用户请求,有一个[实验性的discord服务器](https://discord.gg/ssa2XpY). 我将重点关注长格式内容的论坛/github,但如果您喜欢discord,现在您可以使用discord。 [建筑](文档/Building.md) [入门](文档/GettingStarted.md) [从v1升级,概念图](文档/UpgradingFromV1.md) [Q&A](文档/问题与答案.md) [稳定性提示](文档/StabilityTips.md) [性能提示](文档/PerformanceTips.md) [打包和版本控制](文档/打包和版本控制.md) 查看[roadmap](Documentation/roadmap.md)以从较高的层次了解事情的发展方向。 如果您有太多美元,我们愿意通过[github赞助商]消费(https://www.github.com/sponsors/RossNordby). ![](https://raw.githubusercontent.com/bepu/bepuphysics1/master/Documentation/images/readme/angelduck.png)