17 lines
439 B
Rust
17 lines
439 B
Rust
//bevy system signatures often violate these rules
|
|
#![allow(clippy::type_complexity)]
|
|
#![allow(clippy::too_many_arguments)]
|
|
|
|
use avian3d::prelude::*;
|
|
use bevy::prelude::*;
|
|
|
|
pub struct PhysicsPlugin;
|
|
|
|
impl Plugin for PhysicsPlugin {
|
|
fn build(&self, app: &mut App) {
|
|
app.add_plugins((
|
|
PhysicsPlugins::default().set(PhysicsInterpolationPlugin::interpolate_all()),
|
|
PhysicsPickingPlugin,
|
|
));
|
|
}
|
|
}
|