From: Daniel Karbach Date: Wed, 9 Dec 2015 13:44:54 +0000 (+0100) Subject: don't fix collisions in RK4 substeps X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=00079fa1f73ef55054b177a8beb8106e98f5f4da;p=blank.git don't fix collisions in RK4 substeps still close enough and no as much of a waste well, it's still much of a waste, but at least now it's a little less --- diff --git a/src/world/world.cpp b/src/world/world.cpp index d933dc4..7efcddd 100644 --- a/src/world/world.cpp +++ b/src/world/world.cpp @@ -179,7 +179,6 @@ EntityDerivative Entity::CalculateStep( next.pos.block += delta.position * dt; next.velocity += delta.velocity * dt; limit(next.velocity, max_vel); - world.ResolveWorldCollision(*this, next); next.AdjustPosition(); EntityDerivative out;