{"repo":"BlackPhlox/bevy_dolly","free":true,"listed":false,"github":"https://github.com/BlackPhlox/bevy_dolly","clone":"git clone https://github.com/BlackPhlox/bevy_dolly.git","description":"h3r2tic's dolly abstraction layer for the bevy game framework","language":"Rust","stars":164,"topics":["rust","bevy","camera"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"bevy dolly Static Pinned Overview bevy dolly is a prototype plugin built for the Bevy game engine. It leverages the powerful dolly crate, developed by h3r2tic, to control camera movement within a Bevy application. [!WARNING] Be aware that bevy dolly 's API is still undergoing revisions. Feedback on its ergonomics and developer experience (DX) is highly appreciated. Dolly and Camera Movement It's important to know that dolly is all about controlling how the camera moves and not changing the camera itself. This means you can use it for other things, like making a turret and its cannon move around. Dolly operates in two essential steps: 1. Creating a Rig : Define a Rig with drivers that the dolly can utilize. These drivers, which can control both translation, rotation, constraints and custom behavior as abstractions. These rigs serve as tools to shape the camera's behavior and provide additional functionality. 2. Marker Component : Register a marker component on both the Camera and the Rig (rig component tag). This allows you to easily switch the behavior of a camera entity by changing the associated rig component tag. To understand the process better, refer to the examples. Understanding Drivers Drivers are mechanisms that influence the behavior of the camera. They can represent constraints or provide additional functionality. To explore the available drivers, refer to the examples. In your Cargo.toml : In your Bevy App: In the setup system: And your runtime to update the rig: ","default_branch":null,"files":null,"tree":[],"storefront":"/r/BlackPhlox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BlackPhlox/bevy_dolly/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}