projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f48ea
)
Collision detection tweak #2 (#9365)
author
TheTermos
<55103816+TheTermos@users.noreply.github.com>
Thu, 13 Feb 2020 19:13:07 +0000
(20:13 +0100)
committer
GitHub
<noreply@github.com>
Thu, 13 Feb 2020 19:13:07 +0000
(20:13 +0100)
src/collision.cpp
patch
|
blob
|
history
diff --git
a/src/collision.cpp
b/src/collision.cpp
index cb81c15fe1b2527f5ef52c37add5e0db274f31c8..a4c5454aeb601a63ecf03e9edca5e42508999bfe 100644
(file)
--- 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.