diff --git a/game/src/Enemy.c b/game/src/Enemy.c index c98ef26..c06324c 100644 --- a/game/src/Enemy.c +++ b/game/src/Enemy.c @@ -96,7 +96,7 @@ void EnemyStart(Enemy* self) {} void EnemyUpdate(Enemy* self, float deltaTime) { // apply drag - Vector velocity = vmovetowardsf(rigidbody_get_velocity(self->rigidbody), ZeroVector, 0.1f); + Vector velocity = vmovetowardsf(rigidbody_get_velocity(self->rigidbody), ZeroVector, 80.0f * deltaTime); rigidbody_set_velocity(self->rigidbody, velocity); // update state machine state_machine_update(self->behaviour, deltaTime);