Crate for skeleton animation.
Optionally provides inverse-kinematics functionality.
```rust use {skelly::Skelly, na::{Point3, Vector3, Isometry3}};
// build a skelly with leg and two arms.
let mut skelly = Skelly::
let leftshoulder = skelly.attach(Vector3::z().into(), waist); let leftarm = skelly.attach((-Vector3::x()).into(), leftshoulder); let leftpalm = skelly.attach((-Vector3::x()).into(), left_arm);
let rightshoulder = skelly.attach(Vector3::z().into(), waist); let rightarm = skelly.attach(Vector3::x().into(), rightshoulder); let rightpalm = skelly.attach(Vector3::x().into(), right_arm);
// Write global isometries of every joint into an array. let mut globals = vec![Isometry3::identity(); skelly.len()]; skelly.write_globals(&Isometry3::identity(), &mut globals);
```
See examples/demo.rs
for working example.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.