dimforge / bevy_rapier

Official Rapier plugin for the Bevy game engine.
https://rapier.rs
Apache License 2.0
1.29k stars 262 forks source link

Feature Request: Multiple pipelines? #221

Open brandon-reinhart opened 2 years ago

brandon-reinhart commented 2 years ago

Rapier rust allows us to manage multiple independent simulations by creating more than one pipeline, populating their containers, and stepping them. This is great for creating several experimental frameworks that work simultaneously.

Bevy rapier is amazing in its convenience, but doesn't (afaik) expose the ability to instance pipelines.

This might be something to think about given the Bevy Many Worlds RFC: https://github.com/bevyengine/rfcs/pull/43

Alainx277 commented 2 years ago

I definitely also need this. My use case is similar to Minecraft, where there are multiple game dimensions/worlds that are independent.

A possible workaround would be to just place these far apart, but that requires unpassable boundaries (perhaps buggy) and runs into issues with floating point precision.

AnthonyTornetta commented 1 year ago

This issue would be solved by #328