MASSIVE Kinematic Character Controller Update

- NEW kinematic character controller powered by rapier3d at kinematic_character_controller.rs
- NEW camera modes. The ability to switch between the free debug camera and new character controller.
- NEW keybinds system to support the camera mode swap
This commit is contained in:
reo 2025-10-26 18:29:59 +03:00
parent 8b5a6167eb
commit 713d865dd7
12 changed files with 323 additions and 26 deletions

View file

@ -18,3 +18,13 @@ pub struct ModelHandle(pub ModelID);
#[derive(Copy, Clone)]
pub struct RigidBodyComponent(pub rapier3d::dynamics::RigidBodyHandle);
#[derive(Copy, Clone)]
pub struct CharacterBodyComponent(pub rapier3d::dynamics::RigidBodyHandle);
#[derive(Debug, Default, PartialEq, Eq, Clone, Copy)]
pub enum CameraMode {
#[default]
Kinematic,
Debug,
}