summaryrefslogtreecommitdiff
path: root/scene/3d/velocity_tracker_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/velocity_tracker_3d.h')
-rw-r--r--scene/3d/velocity_tracker_3d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/3d/velocity_tracker_3d.h b/scene/3d/velocity_tracker_3d.h
index 3fc89cc7fb..e971f4755a 100644
--- a/scene/3d/velocity_tracker_3d.h
+++ b/scene/3d/velocity_tracker_3d.h
@@ -37,13 +37,13 @@ class VelocityTracker3D : public Reference {
GDCLASS(VelocityTracker3D, Reference);
struct PositionHistory {
- uint64_t frame;
+ uint64_t frame = 0;
Vector3 position;
};
- bool physics_step;
+ bool physics_step = false;
Vector<PositionHistory> position_history;
- int position_history_len;
+ int position_history_len = 0;
protected:
static void _bind_methods();