summaryrefslogtreecommitdiff
path: root/servers/physics/area_sw.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics/area_sw.h')
-rw-r--r--servers/physics/area_sw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/servers/physics/area_sw.h b/servers/physics/area_sw.h
index 569195d2c3..a864055d17 100644
--- a/servers/physics/area_sw.h
+++ b/servers/physics/area_sw.h
@@ -48,6 +48,7 @@ class AreaSW : public CollisionObjectSW{
float point_attenuation;
float density;
int priority;
+ bool ray_pickable;
ObjectID monitor_callback_id;
StringName monitor_callback_method;
@@ -138,6 +139,11 @@ public:
_FORCE_INLINE_ void remove_constraint( ConstraintSW* p_constraint) { constraints.erase(p_constraint); }
_FORCE_INLINE_ const Set<ConstraintSW*>& get_constraints() const { return constraints; }
+ _FORCE_INLINE_ void set_ray_pickable(bool p_enable) { ray_pickable=p_enable; }
+ _FORCE_INLINE_ bool is_ray_pickable() const { return ray_pickable; }
+
+
+
void set_transform(const Transform& p_transform);
void set_space(SpaceSW *p_space);