1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use bevy::prelude::*; use crate::{ physics_components::{ Vel, CollisionLayer, }, prelude::CollisionShape, }; /// Kinematic bodys are practically everything with the `Vel` struct #[derive(Bundle, Default)] pub struct KinematicBundle { pub vel: Vel, pub shape: CollisionShape, pub collision_layer: CollisionLayer, }