Skip to content

Commit bc1e682

Browse files
authored
N16: Add Rapier and Salva (#400)
1 parent 0f18418 commit bc1e682

File tree

4 files changed

+148
-0
lines changed

4 files changed

+148
-0
lines changed

content/posts/newsletter-016/index.md

+57
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,63 @@ in 0.11.0.
534534

535535
[glam]: https://github.com/bitshifter/glam-rs
536536

537+
### [Rapier]
538+
539+
[![Rapier logo](rapier-logo.svg)][Rapier]
540+
541+
[Rapier] is a set of 2D and 3D physics engines for games, animation and
542+
robotics written in Rust.
543+
544+
[This month][rapier-november] the version 0.4.0 has been released with
545+
exciting new features:
546+
547+
- the ability to read contact and proximity information from the narrow-phase.
548+
- the ability to lock some translations and/or rotations for a rigid-body
549+
without using joints.
550+
551+
The following demo shows examples of translation locking (on the blue cuboid)
552+
and rotation locking (full locking on the capsule, partial locking on the
553+
cuboid):
554+
555+
![Rapier features](rapier-demo.gif)
556+
557+
A cross-platform determinism bug appearing on MacOS with the new Apple M1
558+
ARM processor has also been fixed.
559+
560+
The [bevy_rapier] plugin for the Bevy game engine has been updated to support
561+
all the aforementioned features. In addition, it supports:
562+
563+
- the automatic removal of rigid-bodies, colliders, and joints when the entity
564+
they are attached to are removed from the Bevy ECS.
565+
- the ability to attach multiple colliders to a single rigid-body using Bevy
566+
Hierarchy.
567+
568+
[Rapier]: https://rapier.rs
569+
[rapier-november]: https://www.dimforge.com/blog/2020/12/01/this-month-in-dimforge/
570+
[bevy_rapier]: https://www.rapier.rs/docs/user_guides/rust_bevy_plugin/getting_started
571+
572+
### [Salva]
573+
574+
[![Salva logo](salva-logo.svg)][Salva]
575+
576+
[Salva] is a set of 2D and 3D particle-based fluids simulation engines for
577+
games and animation written in Rust.
578+
579+
Starting [this month][salva-november] Salva 0.5.0 no longer supports
580+
[nphysics] for simulating rigid-bodies. Instead, it implements two-ways
581+
coupling with [Rapier] (see the
582+
[demo](https://twitter.com/dimforge/status/1329467380158898183)).
583+
584+
In addition to the Rapier integration, it is now possible to query Salva
585+
to retrieve all the fluid particles located inside an AABB. This can be
586+
useful for, e.g., spawning new particles ensuring there isn't anything
587+
there already.
588+
589+
[Salva]: https://salva.rs
590+
[salva-november]: https://www.dimforge.com/blog/2020/12/01/this-month-in-dimforge/
591+
[salva-demo]: https://twitter.com/dimforge/status/1329467380158898183
592+
[nphysics]: https://nphysics.org
593+
537594
### [rib]
538595

539596
![rib](rib.gif)
163 KB
Loading

0 commit comments

Comments
 (0)