skelly
Crate for skeleton animation.
Optionally provides inverse-kinematics functionality.
Example
// build a skelly with leg and two arms.
let mut skelly = new;
let foot = skelly.add_root;
let leg = skelly.attach;
let waist = skelly.attach;
let left_shoulder = skelly.attach;
let left_arm = skelly.attach;
let left_palm = skelly.attach;
let right_shoulder = skelly.attach;
let right_arm = skelly.attach;
let right_palm = skelly.attach;
// Write global isometries of every joint into an array.
let mut globals = vec!;
skelly.write_globals;
IK example
use ;
let mut skelly = new;
let foot = skelly.add_root;
let leg = skelly.attach;
let waist = skelly.attach;
let left_shoulder = skelly.attach;
let left_arm = skelly.attach;
let left_palm = skelly.attach;
let right_shoulder = skelly.attach;
let right_arm = skelly.attach;
let right_palm = skelly.attach;
use RotorSolver;
// Using the skelly above, do some inverse-kinematics
let mut posture = skelly.make_posture;
let mut solver = new;
// move left palm to the foot.
solver.set_position_goal;
// Iteratively solve imposed constraints.
for _ in 0..100
// Write global isometries of every joint in the posture into an array.
let mut globals = vec!;
skelly.write_globals_for_posture;
## License
Licensed under either of
* Apache License, Version 2.0,