diff --git a/src/navigation.rs b/src/navigation.rs index dd87998..80c4a86 100644 --- a/src/navigation.rs +++ b/src/navigation.rs @@ -108,7 +108,11 @@ fn movement_controls( } if input.active(rotate_right) { position.position.rotation *= UnitComplex::new(-delta); + } else { + velocity.angvel = 0.; } + } else { + velocity.angvel = 0.; } if direction.length_squared() != 0. { commands.entity(entity).remove::();