Skip to content

Commit ebd0dcb

Browse files
committed
N48: bevy_xpbd
1 parent bde3ece commit ebd0dcb

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

content/news/048/bevy_xpbd.gif

974 KB
Loading

content/news/048/index.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,46 @@ If needed, a section can be split into subsections with a "------" delimiter.
7575

7676
## Library Updates
7777

78+
### [bevy_xpbd]
79+
80+
![Balls held by string swinging and hitting each other in a Newton's cradle](bevy_xpbd.gif)
81+
_Newton's cradle simulated using bevy_xpbd_
82+
83+
[bevy_xpbd] by [@Jondolf] is a 2D and 3D physics engine based on
84+
Extended Position Based Dynamics for the Bevy game engine.
85+
86+
It uses Bevy's Entity Component System (ECS) directly for the simulation data
87+
and logic, which makes the design and API feel better integrated into Bevy while
88+
avoiding the overhead associated with copying lots of data to a separate data
89+
structure like in many other physics engines such as bevy_rapier.
90+
91+
In mid-July, bevy_xpbd 0.2 was released, featuring:
92+
93+
- Spatial queries (ray casting, shape casting, point projection, intersection tests)
94+
- Bevy 0.11 support
95+
- Improved scheduling
96+
- Velocity damping
97+
- Gravity scale
98+
- Locking translational and rotational axes
99+
100+
and much more. You can find more details in the
101+
[release post][bevy_xpbd release post] and [changelog][bevy_xpbd changelog].
102+
103+
A lot of work was also done during the rest of July. The physics debug renderer
104+
was improved, collision stability issues were significantly reduced, external
105+
impulses were added, and Bevy's own `Transform`s can now be used directly
106+
for moving bodies. The narrow phase part of collision detection was also
107+
refactored into a separate plugin, which makes multithreading and several
108+
upcoming features much easier to implement while also improving modularity.
109+
110+
_Discussions: [/r/rust_gamedev][bevy_xpbd /r/rust_gamedev]
111+
112+
[bevy_xpbd]: https://github.com/Jondolf/bevy_xpbd
113+
[@Jondolf]: https://github.com/Jondolf
114+
[bevy_xpbd release post]: https://joonaa.dev/blog/03/bevy-xpbd-0-2-0
115+
[bevy_xpbd changelog]: https://github.com/Jondolf/bevy_xpbd/releases/tag/v0.2.0
116+
[bevy_xpbd /r/rust_gamedev]: https://www.reddit.com/r/rust_gamedev/comments/14zr5i5/bevy_xpbd_020_spatial_queries_bevy_011_support/
117+
78118
## Popular Workgroup Issues in Github
79119

80120
<!-- Up to 10 links to interesting issues -->
@@ -115,5 +155,4 @@ TODO: Add real links and un-comment once this post is published
115155
[Discord](https://discord.gg/yNtPTb2).
116156
-->
117157

118-
[/r/rust_gamedev]: https://reddit.com/r/rust_gamedev
119158
[@rust_gamedev]: https://twitter.com/rust_gamedev

0 commit comments

Comments
 (0)