From: Daniel Karbach Date: Fri, 8 Dec 2017 23:29:25 +0000 (+0100) Subject: brake hard, not break hard X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=commitdiff_plain;h=8d3258ace004e89a8cd6b44880b5938c18314401 brake hard, not break hard --- diff --git a/src/creature/creature.cpp b/src/creature/creature.cpp index 6f619b9..396385e 100644 --- a/src/creature/creature.cpp +++ b/src/creature/creature.cpp @@ -1007,8 +1007,8 @@ glm::dvec3 Steering::Force(const Situation::State &s) const noexcept { result += repulse; } if (halting) { - // break twice as hard - result += -2.0 * s.vel * force; + // brake hard + result += -5.0 * s.vel * force; } if (seeking) { glm::dvec3 diff = target - s.pos;