To run an example:
- Clone the repository using
git clone --recurse-submodules https://github.com/BlackPhlox/bevy_dolly
- Run
cargo r --release --example x
wherex
is the name of one of the examples below:
2D example of how to setup a simple movement controller. Comparable to FlyCamera2d mode of bevy_fly_camera.
2D example of creating a level with a camera controller comparable to a 2D street brawler.
A custom driver implementation using nested existing drivers and its registration in bevy to get an understanding on how users can create nested drivers themselves.
Simple camera example following a player.
(TODO): May be removed in place of custom.rs
Example showing the Fpv driver. Camera controller is comparable to :
-
bevy_fly_camera in 3D mode.
Simple default camera example of tracking (the LookAt
driver) the player (Cone).
An extensive example showing orbit capabilities of the library.
Example showing using multiple cameras and drivers at the same time.
Simple example showing how to create a controller that allows to switch between players/moving targets.