Expand description
A collection of camera controllers for Bevy.
This crate provides a set of camera controllers that can be easily integrated the applications. It includes a:
FreeCameraControllerfor first-person navigation.ThirdPersonControllerfor third-person perspectives.
To use the camera controllers, simply add the corresponding controller component to your camera entity.
For example, to use the ThirdPersonController, you can spawn a camera entity like this:
commands.spawn((
Transform::from_xyz(0.0, 2.0, 6.0).looking_at(Vec3::ZERO, Vec3::Y),
ActiveCamera,
ThirdPersonController::default(),
));