diff --git a/modules/wave_survival/enemy_body.cpp b/modules/wave_survival/enemy_body.cpp index b61db02f..6e721dfe 100644 --- a/modules/wave_survival/enemy_body.cpp +++ b/modules/wave_survival/enemy_body.cpp @@ -13,6 +13,9 @@ void EnemyBody::physics_process(double delta) { GETSET(velocity, { velocity = Vector3{ this->movement_direction.x, velocity.y, this->movement_direction.y }; }); + if (!get_velocity().is_zero_approx()) { + look_at(get_global_position() + get_velocity()); + } move_and_slide(); }