mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
roll anim speedup
This commit is contained in:
parent
860c766d62
commit
fae3ef6e59
@ -31,7 +31,8 @@ impl Animation for RollAnimation {
|
|||||||
*rate = 1.0;
|
*rate = 1.0;
|
||||||
let mut next = (*skeleton).clone();
|
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 ori: Vec2<f32> = Vec2::from(orientation);
|
||||||
let last_ori = Vec2::from(last_ori);
|
let last_ori = Vec2::from(last_ori);
|
||||||
let tilt = if ::vek::Vec2::new(ori, last_ori)
|
let tilt = if ::vek::Vec2::new(ori, last_ori)
|
||||||
|
Loading…
Reference in New Issue
Block a user