summaryrefslogtreecommitdiff
path: root/scene/3d/navigation_link_3d.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-16 11:02:17 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-16 11:02:17 +0100
commit953383328af17e8c9fd6359285c12617cb22f636 (patch)
treee675726ae69fc98625bd6ff8b22dfec90537197b /scene/3d/navigation_link_3d.h
parentd844fbba3b23ecb6f3726c8320e4b97188edb605 (diff)
parentd87f1247689ae82996aeac77b6e9870bbc88142d (diff)
Merge pull request #73229 from smix8/navlink_global_positions_4.x
Add NavigationLink helper functions for global positions
Diffstat (limited to 'scene/3d/navigation_link_3d.h')
-rw-r--r--scene/3d/navigation_link_3d.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scene/3d/navigation_link_3d.h b/scene/3d/navigation_link_3d.h
index 5c9ec36189..991f45c85d 100644
--- a/scene/3d/navigation_link_3d.h
+++ b/scene/3d/navigation_link_3d.h
@@ -83,6 +83,12 @@ public:
void set_end_position(Vector3 p_position);
Vector3 get_end_position() const { return end_position; }
+ void set_global_start_position(Vector3 p_position);
+ Vector3 get_global_start_position() const;
+
+ void set_global_end_position(Vector3 p_position);
+ Vector3 get_global_end_position() const;
+
void set_enter_cost(real_t p_enter_cost);
real_t get_enter_cost() const { return enter_cost; }