diff options
| author | Rémi Verschelde | 2018-02-14 08:28:19 +0100 |
|---|---|---|
| committer | GitHub | 2018-02-14 08:28:19 +0100 |
| commit | 2a754be71aecbff9c2c924089840440802c3e565 (patch) | |
| tree | 0e000dbe1bd75509a06f0baa749e2740ccd4fc91 /modules/bullet | |
| parent | 232e03e5e377adbd3b86d04d15ef65b0f1778ebe (diff) | |
| parent | f48845428dcfe79edf381b1626e4ae7994fbdc96 (diff) | |
| download | godot-2a754be71aecbff9c2c924089840440802c3e565.tar.gz godot-2a754be71aecbff9c2c924089840440802c3e565.tar.zst godot-2a754be71aecbff9c2c924089840440802c3e565.zip | |
Diffstat (limited to 'modules/bullet')
| -rw-r--r-- | modules/bullet/space_bullet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp index 6f0cda895..88d9c20eb 100644 --- a/modules/bullet/space_bullet.cpp +++ b/modules/bullet/space_bullet.cpp @@ -979,6 +979,8 @@ bool SpaceBullet::test_body_motion(RigidBodyBullet *p_body, const Transform &p_f } else { if (!l_has_penetration) break; + else + has_penetration = true; } } } |
