bevy_xpbd
rapier
bevy_xpbd | rapier | |
---|---|---|
5 | 39 | |
959 | 3,610 | |
- | 5.0% | |
9.5 | 8.4 | |
about 1 month ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bevy_xpbd
-
Rust Game Physics Engines: PhysX, Rapier, XPBD & Others
Bevy XPBD will move away from the XPBD solver in coming months, which is worth bearing in mind if you are considering using it for your project.
-
The Bevy Foundation
[2]: https://github.com/Jondolf/bevy_xpbd/issues/346
- Bevy XPBD Moving Away from XPBD Solver over Nvidia Patent
-
Bevy XPBD 0.2.0: Spatial queries, Bevy 0.11 support, and a lot more
Bevy XPBD is a 2D and 3D physics engine based on Extended Position Based Dynamics for the Bevy game engine. Unlike most other physics engines in the ecosystem, it uses the ECS directly, which removes the overhead of maintaining a separate physics world and makes the engine feel much more integrated into Bevy.
-
Bevy XPBD: A physics engine for the Bevy game engine
Cool! FYI, I just made a PR that adds support for applying a force at a point (and applying torque accordingly) if that's what you meant: https://github.com/Jondolf/bevy_xpbd/pull/58
rapier
-
Xkcd 2916: Machine
Ok, so this uses https://rapier.rs/ which is very cool
Rapier, alongside https://nalgebra.org/ (which it uses underneath) has seriously good documentation and some advanced features like cross-platform determinism (something made hard by the way floating point differs between platforms)
-
Rust Game Physics Engines: PhysX, Rapier, XPBD & Others
Code examples: see examples2d, examples3d-f64 and examples3d directories
- Rapier: Fast 2D and 3D physics engines written in Rust
-
Bevy XPBD: A physics engine for the Bevy game engine
What are the pros and cons compared to something like Rapier? When should one use Bevy XPBD instead of Rapier, or vice versa?
-
What's everyone working on this week (22/2023)?
Still using Rust in a browser-based multiplayer party game I'm working on! I'm using Actix Web for the backend and rapier2d to handle my game's physics. I'm looking to make some more connections amongst the developer / gaming community through my game down the line.
-
Constructing a piston/muscle/gas strut in bevy_rapier3d?
I have noticed that Rapier 0.17 contains a RopeJoint struct, which constrains maximum distance between two dynamic bodies. It doesn't seem to have found its way into bevy_rapier3d yet so I haven't understood whether it supports (half of) my use case, and looking at the code (https://github.com/dimforge/rapier/blob/master/src/dynamics/joint/rope_joint.rs) I really cannot see how it is actually implemented and how I could extend it to also set a minimum distance, but this may be a place to start.
-
Next part of my platformer in bevy series
I was also frustrated with the kcc, so I opened a PR that fixes most of my issues: https://github.com/dimforge/rapier/pull/446
-
What libraries does Idris need to increase adoption?
Likewise, see the js bindings of Rapier.
-
Good resources for structuring a 2d physics engine in Rust?
Maybe check out how Rapier does it. Rapier is likely the most advanced physics engine in Rust. (Though Embark Studios is doing some crazy stuff with ML physics.)
-
A Rust client library for interacting with Microsoft Airsim https://github.com/Sollimann/airsim-client
rapier
What are some alternatives?
vviz - Rapid prototyping GUI, and visual printf-style debugging for computer vision development.
box2d-wasm - Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.
thetawave - A physics based, space shooter game made with Rust and the Bevy engine.
bevy - A refreshingly simple data-driven game engine built in Rust
raw-physics - Simple rigid-body physics simulator powered by XPBD.
parry - 2D and 3D collision-detection library for Rust.
bevy_dolly - h3r2tic's dolly abstraction layer for the bevy game framework
nakama - Distributed server for social and realtime games and apps.
term2d - A simple 2d drawing engine for terminal emulators.
PixiJS - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
GameOfLife - Game of Life (2d cellular automata described by John Conway) in C, C++, Javascript, Python, Rust (plain Rust and with GGEZ), and Java (plain Java and with libgdx)
gdnative - Rust bindings for Godot 3