dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.93k stars 244 forks source link

Track latest bevy main branch #435

Closed lewiszlw closed 1 year ago

lewiszlw commented 1 year ago

Hi, team Could you create a branch to track latest bevy main branch? I tried myself, but there are blocks for me and I don't have enough knowledge to solve them. For example, in src/plugin/plugin.rs file, bevy_rapier depends on bevy's internal system, but this system has been changed to private in https://github.com/bevyengine/bevy/pull/4775.

   pub fn get_systems(stage: PhysicsStages) -> SystemSet {
        match stage {
            PhysicsStages::SyncBackend => {
                let systems = SystemSet::new()
                    .with_system(systems::update_character_controls) // Run the character controller befor ethe manual transform propagation.
                    .with_system(
                        bevy::transform::transform_propagate_system
                            .after(systems::update_character_controls),
                    ) // Run Bevy transform propagation additionally to sync [`GlobalTransform`]
                    .with_system(
                        systems::init_async_colliders
                            .after(bevy::transform::transform_propagate_system),
                    )
                  ...
                  ...
lewiszlw commented 1 year ago

Sorry, this issue should be put in bevy_rapier repo. Closing.