roll anim speedup

This commit is contained in:
jshipsey 2020-11-05 16:40:30 -05:00
parent 860c766d62
commit fae3ef6e59

View File

@ -31,7 +31,8 @@ impl Animation for RollAnimation {
*rate = 1.0;
let mut next = (*skeleton).clone();
let spin = anim_time as f32;
let spin = anim_time as f32 * 1.1;
let ori: Vec2<f32> = Vec2::from(orientation);
let last_ori = Vec2::from(last_ori);
let tilt = if ::vek::Vec2::new(ori, last_ori)