Fly controller (#26)

This commit is contained in:
extrawurst
2025-04-12 17:16:41 +02:00
committed by GitHub
parent dab4ea0656
commit 9b3765c41d
10 changed files with 550 additions and 325 deletions

View File

@@ -1,7 +1,7 @@
use avian3d::{math::*, prelude::*};
use bevy::prelude::*;
use super::controller::{CharacterController, MaxSlopeAngle};
use super::controller_common::{CharacterController, MaxSlopeAngle};
/// Kinematic bodies do not get pushed by collisions by default,
/// so it needs to be done manually.