summaryrefslogtreecommitdiff
path: root/servers/physics_2d_server.h
diff options
context:
space:
mode:
authorBiliogadafr <Biliogadafr@gmail.com>2016-02-01 04:30:16 +0300
committerBiliogadafr <Biliogadafr@gmail.com>2016-02-01 04:30:16 +0300
commite8c5b41dd8d9825d0ae2f053f2f219289aed91a8 (patch)
treeb28611695860cf968c8b933f60822846b012473a /servers/physics_2d_server.h
parent0364d6b076cfc4e75985731b67f8155bf173dd06 (diff)
Physics2D: Allow to use 'intersect_point' with objects which is not 'pickable'
Diffstat (limited to 'servers/physics_2d_server.h')
-rw-r--r--servers/physics_2d_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d_server.h b/servers/physics_2d_server.h
index 08f69f98b1..7a4365bea3 100644
--- a/servers/physics_2d_server.h
+++ b/servers/physics_2d_server.h
@@ -182,7 +182,7 @@ public:
};
- virtual int intersect_point(const Vector2& p_point,ShapeResult *r_results,int p_result_max,const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION)=0;
+ virtual int intersect_point(const Vector2& p_point,ShapeResult *r_results,int p_result_max,const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION,bool p_pick_point=false)=0;
virtual int intersect_shape(const RID& p_shape, const Matrix32& p_xform,const Vector2& p_motion,float p_margin,ShapeResult *r_results,int p_result_max,const Set<RID>& p_exclude=Set<RID>(),uint32_t p_layer_mask=0xFFFFFFFF,uint32_t p_object_type_mask=TYPE_MASK_COLLISION)=0;