blender_bevy_toolkit icon indicating copy to clipboard operation
blender_bevy_toolkit copied to clipboard

Bevy new version is out

Open marko-lazic opened this issue 2 years ago • 5 comments

Hey everyone,

Bevy got updated from 0.6.0 to 0.7.0 sometime a while ago. Bevy Rapier also got updated from 0.12.1 to 0.13.2

I tried migrating this project myself. The most notable changes are in rapier_physics.rs and some in blender_mesh.rs. Unfortunately, I couldn't make my project run afterward.

We should migrate the project so that at least it runs new versions of Bevy and Rapier.

marko-lazic avatar May 17 '22 19:05 marko-lazic

Yep, I noticed this too. Since I've recently started work on a Bevy project, I'm going to attempt to migrate it, we'll see how that goes.

YourRentIsDue avatar May 17 '22 21:05 YourRentIsDue

I have managed to get my project compiling with Blender_Bevy_Toolkit after I edited it to run on the most recent version of Bevy and Rapier. I will check if the features still work and submit a pull request if they do!

YourRentIsDue avatar May 18 '22 02:05 YourRentIsDue

The pull request is submitted, waiting on tests from sdfgeoff, but if you're really itching to use this project now, my fork should be compatible with the most recent version of bevy and rapier. I have tested gravity and collisions, both seem to work fine.

YourRentIsDue avatar May 18 '22 16:05 YourRentIsDue

Well done. I was actually struggling with the new method of inserting rigid bodies into entities part. I couldn't find any migration guide and I was not using Rapier directly before.

marko-lazic avatar May 18 '22 20:05 marko-lazic

If anybody came to this issue trying to get blender_bevy_toolkit to compile in their project, there's an upstream dependency issue for the version of rapier3d used that you'll need to fix in your own (not blender_bevy_toolkit's) Cargo.lock file. Once you generate Cargo.lock by attempting to build once, if you have errors, then you take the entry for rapier3d (not bevy_rapier3d) from blender_bevy_toolkit's Cargo.lock and replace your Cargo.lock's entry with it to fix them.

Type1J avatar Jan 09 '23 18:01 Type1J