summaryrefslogtreecommitdiff
path: root/scene/resources/ray_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/ray_shape.cpp')
-rw-r--r--scene/resources/ray_shape.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/resources/ray_shape.cpp b/scene/resources/ray_shape.cpp
index e12ecf107b..ee55cc6e37 100644
--- a/scene/resources/ray_shape.cpp
+++ b/scene/resources/ray_shape.cpp
@@ -30,7 +30,14 @@
#include "servers/physics_server.h"
+Vector<Vector3> RayShape::_gen_debug_mesh_lines() {
+ Vector<Vector3> points;
+ points.push_back(Vector3());
+ points.push_back(Vector3(0,0,get_length()));
+
+ return points;
+}
void RayShape::_update_shape() {