diff options
author | Mikael Hermansson <mikael@hermansson.io> | 2024-02-06 14:23:08 +0100 |
---|---|---|
committer | Mikael Hermansson <mikael@hermansson.io> | 2024-02-06 14:29:43 +0100 |
commit | f2d615cdc7bbb52ee2462eff824cfd559343a282 (patch) | |
tree | 4863fd9bdc8be43ed37537e89eacffe0df4c3168 /scene/3d/physics_body_3d.h | |
parent | d3352813ea44447bfbf135efdec23acc4d1d3f89 (diff) | |
download | redot-engine-f2d615cdc7bbb52ee2462eff824cfd559343a282.tar.gz |
Fix contact count sometimes being incorrect in `_process`
Diffstat (limited to 'scene/3d/physics_body_3d.h')
-rw-r--r-- | scene/3d/physics_body_3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/physics_body_3d.h b/scene/3d/physics_body_3d.h index e8373d5907..b84b7c4f02 100644 --- a/scene/3d/physics_body_3d.h +++ b/scene/3d/physics_body_3d.h @@ -177,6 +177,7 @@ private: bool ccd = false; int max_contacts_reported = 0; + int contact_count = 0; bool custom_integrator = false; |