FyroxEngine / Fyrox

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

Root motion #425

Closed mrDIMAS closed 1 year ago

mrDIMAS commented 1 year ago

This PR adds a root motion support for animations. Root motions allows you to transfer motion from root of animated hierarchy of nodes to a physical capsule, thus moving the capsule instead of the root. It is a must-have feature to prevent characters to step out of their capsules and to make movement animations more naturally looking - feet can match the ground and there's no floating effect.