FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.61k stars 340 forks source link

Blend space #430

Closed mrDIMAS closed 1 year ago

mrDIMAS commented 1 year ago

This PR adds support for 2-dimensional blend spaces. Blend space allows you to blend any number of animations using a single sampling 2d-vector parameter. They're especially useful for locomotion animations when you need to blend multiple animations into one depending on speed and direction of a character. An example of blend spaces could be found in Unreal Engine docs