robocomp_avian3d 0.1.0

Avian physics integration for robocomp
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use bevy::prelude::*;
use robocomp::RobocompPlugin;

use crate::pre_processor_plugin::PreProcessorPlugin;

/// # Robocomp Avian Plugin
///
/// Avian physics backend for the robot compositor.
///
/// Bundles [`RobocompPlugin`] with the Avian pre-processor that spawns colliders and joints.
pub struct RobocompAvianPlugin;

impl Plugin for RobocompAvianPlugin {
    fn build(&self, app: &mut App) {
        app.add_plugins((RobocompPlugin, PreProcessorPlugin))
            .add_systems(Startup, || info!("RobocompAvianPlugin started..."));
    }
}