summaryrefslogtreecommitdiffstats
path: root/scene/3d/xr_hand_modifier_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/xr_hand_modifier_3d.h')
-rw-r--r--scene/3d/xr_hand_modifier_3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/3d/xr_hand_modifier_3d.h b/scene/3d/xr_hand_modifier_3d.h
index 67d1694d41..3d78f32b64 100644
--- a/scene/3d/xr_hand_modifier_3d.h
+++ b/scene/3d/xr_hand_modifier_3d.h
@@ -73,6 +73,9 @@ private:
BoneUpdate bone_update = BONE_UPDATE_FULL;
JointData joints[XRHandTracker::HAND_JOINT_MAX];
+ bool has_stored_previous_transforms = false;
+ Vector<Transform3D> previous_relative_transforms;
+
void _get_joint_data();
void _tracker_changed(StringName p_tracker_name, XRServer::TrackerType p_tracker_type);
};