summaryrefslogtreecommitdiff
path: root/scene/animation/root_motion_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/root_motion_view.h')
-rw-r--r--scene/animation/root_motion_view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/animation/root_motion_view.h b/scene/animation/root_motion_view.h
index 65e9ff480b..611183d364 100644
--- a/scene/animation/root_motion_view.h
+++ b/scene/animation/root_motion_view.h
@@ -13,6 +13,7 @@ public:
bool use_in_game;
Color color;
bool first;
+ bool zero_y;
Transform accumulated;
@@ -33,6 +34,9 @@ public:
void set_radius(float p_radius);
float get_radius() const;
+ void set_zero_y(bool p_zero_y);
+ bool get_zero_y() const;
+
virtual AABB get_aabb() const;
virtual PoolVector<Face3> get_faces(uint32_t p_usage_flags) const;