Hello, I'm very new to both bevy and rust but they looked really fun to mess around with so i want to give them a try
I want to make a simple 3D game and i want to get some things figured out first. I want to use RigidBody::KinematicPositionBased and KinematicCharacterController to handle player physics, and i dont know how to apply gravity to my player. The rapier docs says that u need to handle the gravity manualy but KinematicCharacterControllerOutput has a grounded bool to handle this stuff
pub struct KinematicCharacterControllerOutput {
/// Indicates whether the shape is grounded after its kinematic movement.
pub grounded: bool,
/// The initial desired movement of the character if there were no obstacle.
pub desired_translation: Vect,
/// The translation calculated by the last character control step taking obstacles into account.
pub effective_translation: Vect,
/// Collisions between the character and obstacles found in its path.
pub collisions: Vec<CharacterCollision>,
}
Im just very confused i've been trying to solve this problem for days now 🥲