summaryrefslogtreecommitdiff
path: root/scene/3d/path_3d.h
diff options
context:
space:
mode:
authorMark Riedesel <mark@klowner.com>2022-04-11 15:17:35 -0400
committerMark Riedesel <mark@klowner.com>2022-05-17 11:17:00 -0400
commit281cf5fb812e80cb0c17e14c1900cd5c5da861b1 (patch)
tree92c3fadce59d11b9fdbca021e68591dcc0d7a30f /scene/3d/path_3d.h
parent5b02415fd0a603f76368212e829fc4f839200064 (diff)
PathFollow3D parallel transport frame reliability improvements
Diffstat (limited to 'scene/3d/path_3d.h')
-rw-r--r--scene/3d/path_3d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/path_3d.h b/scene/3d/path_3d.h
index e9ab557693..cb67a044d1 100644
--- a/scene/3d/path_3d.h
+++ b/scene/3d/path_3d.h
@@ -65,7 +65,7 @@ public:
private:
Path3D *path = nullptr;
- real_t delta_offset = 0.0; // Change in offset since last _update_transform.
+ real_t prev_offset = 0.0; // Offset during the last _update_transform.
real_t offset = 0.0;
real_t h_offset = 0.0;
real_t v_offset = 0.0;