{"repo":"Jondolf/bevy_transform_interpolation","free":true,"listed":false,"github":"https://github.com/Jondolf/bevy_transform_interpolation","clone":"git clone https://github.com/Jondolf/bevy_transform_interpolation.git","description":"Transform interpolation for fixed timesteps for the Bevy game engine.","language":"Rust","stars":76,"topics":["bevy","easing","gamedev","interpolation","rust"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"bevy transform interpolation A drop-in Transform interpolation solution for fixed timesteps for the Bevy game engine. What Is This For? A lot of gameplay logic and movement systems typically use a fixed timestep to produce consistent and stable behavior regardless of the frame rate. Notable examples include physics simulation and character movement. However, this can make movement appear choppy, especially on displays with a high refresh rate. To achieve visually smooth movement while using a fixed timestep, the visual transform must be smoothed independently of the \"true\" gameplay transform. The most common way to do this is to use transform interpolation , which interpolates movement from the previous state to the current state. This could be done by storing the current and old gameplay positions in their own components and interpolating Transform using them: In fact, you could simply plug the above implementation into your own application if you wanted to! However, it requires you to use Position for gameplay logic, and to manage OldPosition somewhere. This can be annoying, and is incompatible with third party libraries that expect to be able to modify the transform directly. bevy transform interpolation aims to be a drop-in solution that allows easy and efficient transform interpolation, while still allowing the usage of Transform for gameplay logic. It should be automatically compatible with physics engines such as Avian and bevy rapier , as long as the simulation is run","default_branch":null,"files":null,"tree":[],"storefront":"/r/Jondolf","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Jondolf/bevy_transform_interpolation/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."}