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:
parent
db1b427e2a
commit
f503c70a9b
12 changed files with 323 additions and 26 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue