Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Collision detection tweak #2 (#9365)
  • Loading branch information
TheTermos committed Feb 13, 2020
1 parent c2f48ea commit df74d36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/collision.cpp
Expand Up @@ -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.

Expand Down

0 comments on commit df74d36

Please sign in to comment.