diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-10-22 12:40:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 12:40:14 +0200 |
commit | afd86ee240301aef499e35767cb3e12a7d36d948 (patch) | |
tree | 3a0c49bc4b168ee94646d9644ba7ea2cb7cfd83c /scene/3d/ray_cast.h | |
parent | c23e8797f1bec30defd1903cfeef0992cb1f1a89 (diff) | |
parent | 8d57640d3745084d5c4abc4e6926298c2f4a3fb4 (diff) |
Merge pull request #6090 from WalasPrime/raytrace_force
Added force_raycast_update GDScript method for RayCast[2D]
Diffstat (limited to 'scene/3d/ray_cast.h')
-rw-r--r-- | scene/3d/ray_cast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/ray_cast.h b/scene/3d/ray_cast.h index 4f6514e61b..47553f08ed 100644 --- a/scene/3d/ray_cast.h +++ b/scene/3d/ray_cast.h @@ -53,6 +53,7 @@ class RayCast : public Spatial { protected: void _notification(int p_what); + void _update_raycast_state(); static void _bind_methods(); public: @@ -68,6 +69,7 @@ public: void set_type_mask(uint32_t p_mask); uint32_t get_type_mask() const; + void force_raycast_update(); bool is_colliding() const; Object *get_collider() const; int get_collider_shape() const; |