Crates.io | bevy_blendy_cameras |
lib.rs | bevy_blendy_cameras |
version | 0.5.1 |
source | src |
created_at | 2024-07-26 19:15:31.813465 |
updated_at | 2024-10-27 20:58:47.332876 |
description | Bevy editor like cameras controls for Pan/Orbit/Zoom and Fly mode. Switch mode, set camera viewpoint and frame view around entities |
homepage | https://github.com/thmxv/bevy_blendy_cameras |
repository | https://github.com/thmxv/bevy_blendy_cameras |
max_upload_size | |
id | 1316641 |
size | 253,987 |
Editor like cameras controls and features inspired by Blender's viewport camera controls.
Add the plugin:
.add_plugins(BlendyCamerasPlugin)
Add the controllers components to a camera:
commands.spawn((
Camera3dBundle {
transform: Transform::from_translation(Vec3::new(0.0, 1.5, 5.0)),
..default()
},
OrbitCameraController::default(),
FlyCameraController {
is_enabled: false,
..default()
},
));
Check out the basic example to see more functionalities.
bevy_egui
(optional): Ignore input when egui
has the focusbevy | bevy_blendy_cameras |
---|---|
0.14 | 0.2-0.5 |
0.13 | 0.1 |
I am a bit new to both Rust and Bevy and this plugin is in early stages. Help is welcomed.