D4QISWMTFAC4M2VFEQJBQ4FTJRRKTJCJCECDQPICUELOD75XSMUAC
transform.translation += dad.xy().extend(0.0) * speed * time.delta_seconds();
md.0 = dad.xy();
md.1 = dad.xy().length() * speed * time.delta_seconds();
if let Some(movement_norm) = movement.try_normalize() {
let speed = if dash.0 { DASH_SPEED } else { SPEED };
transform.translation += movement_norm.extend(0.0) * speed * time.delta_seconds();
md.0 = movement_norm;
md.1 = speed * time.delta_seconds();
} else {
md.0 = Vec2::ZERO;
md.1 = 0.0;
}