summaryrefslogtreecommitdiffstats
path: root/scene/resources/3d/separation_ray_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/3d/separation_ray_shape_3d.cpp')
-rw-r--r--scene/resources/3d/separation_ray_shape_3d.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/resources/3d/separation_ray_shape_3d.cpp b/scene/resources/3d/separation_ray_shape_3d.cpp
index d9aa636289..1f97d06b67 100644
--- a/scene/resources/3d/separation_ray_shape_3d.cpp
+++ b/scene/resources/3d/separation_ray_shape_3d.cpp
@@ -32,6 +32,7 @@
#include "separation_ray_shape_3d.h"
+#include "scene/resources/mesh.h"
#include "servers/physics_server_3d.h"
Vector<Vector3> SeparationRayShape3D::get_debug_mesh_lines() const {
@@ -43,6 +44,10 @@ Vector<Vector3> SeparationRayShape3D::get_debug_mesh_lines() const {
return points;
}
+Ref<ArrayMesh> SeparationRayShape3D::get_debug_arraymesh_faces(const Color &p_modulate) const {
+ return memnew(ArrayMesh);
+}
+
real_t SeparationRayShape3D::get_enclosing_radius() const {
return length;
}