diff options
author | TheTermos <55103816+TheTermos@users.noreply.github.com> | 2020-02-13 20:13:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 20:13:07 +0100 |
commit | df74d369a395f0b99bd23fa3e7fb4c628c3df336 (patch) | |
tree | 843e5ce6ea0082c70b6faa162dc3f489a48c8855 /src | |
parent | c2f48eab4dfd352c391266b858378dd032d84a0f (diff) | |
download | minetest-df74d369a395f0b99bd23fa3e7fb4c628c3df336.tar.gz minetest-df74d369a395f0b99bd23fa3e7fb4c628c3df336.tar.bz2 minetest-df74d369a395f0b99bd23fa3e7fb4c628c3df336.zip |
Collision detection tweak #2 (#9365)
Diffstat (limited to 'src')
-rw-r--r-- | src/collision.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/collision.cpp b/src/collision.cpp index cb81c15fe..a4c5454ae 100644 --- a/src/collision.cpp +++ b/src/collision.cpp @@ -417,7 +417,8 @@ collisionMoveResult collisionMoveSimple(Environment *env, IGameDef *gamedef, */ //f32 d = pos_max_d * 1.1f; - f32 d = 0.01f; // Temporary fix, any nonzero d causes collision glitches, the more the greater it is. + + f32 d = 0.3f; // Temporary fix, any nonzero d causes collision glitches, the more the greater it is. // ultimately it has to be determined if any uncertainty is involved, and if it is, eliminated // and d & pos_max_d params removed from function calls. |