use avian3d::debug_render::PhysicsGizmos; use bevy::{ color::Srgba, gizmos::AppGizmoBuilder, math::Vec3, prelude::{App, Color, GizmoConfig, Plugin}, }; // use crate::planet::CyberPlanet; pub const BISEXY_COLOR: Color = Color::hsla(292.0, 0.9, 0.60, 1.1); // public plugin pub struct CyberGlamorPlugin; impl Plugin for CyberGlamorPlugin { fn build(&self, app: &mut App) { { let plugin = avian3d::debug_render::PhysicsDebugPlugin::default(); app.add_plugins(plugin).insert_gizmo_config( PhysicsGizmos { contact_point_color: Some(Srgba::GREEN.into()), contact_normal_color: Some(Srgba::WHITE.into()), hide_meshes: true, axis_lengths: Some(Vec3::ZERO), ..Default::default() }, GizmoConfig::default(), ); } } }