Collision detection tweak #2 (#9365)

This commit is contained in:
TheTermos 2020-02-13 20:13:07 +01:00 committed by GitHub
parent c2f48eab4d
commit df74d369a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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.