Skip to content
Permalink
Browse files

Collision detection tweak #2 (#9365)

  • Loading branch information
TheTermos committed Feb 13, 2020
1 parent c2f48ea commit df74d369a395f0b99bd23fa3e7fb4c628c3df336
Showing with 2 additions and 1 deletion.
  1. +2 −1 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.

0 comments on commit df74d36

Please sign in to comment.
You can’t perform that action at this time.