diff options
| author | Guilherme Recchi Cardozo <gcardozo@esss.com.br> | 2018-10-24 16:32:55 -0300 |
|---|---|---|
| committer | Guilherme Recchi Cardozo <gcardozo@inf.ufsm.br> | 2018-11-01 06:41:34 -0300 |
| commit | 3fb2069d39b2ccfb30c06cffcf802d73ce169d60 (patch) | |
| tree | d33d96ede12e8d00fde999ae2979633c0fc55182 /scene/2d/physics_body_2d.h | |
| parent | d42fd8fa7936ab0f32e207063908cc41dc1ee7ab (diff) | |
| download | redot-engine-3fb2069d39b2ccfb30c06cffcf802d73ce169d60.tar.gz | |
Add method get_collision_exceptions
Adding this method to PhysicsBody, PhysicsBody2D and
SoftBody. It returns a list of nodes included in
collision exceptions.
Fixes #23235, cheers!
Diffstat (limited to 'scene/2d/physics_body_2d.h')
| -rw-r--r-- | scene/2d/physics_body_2d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/physics_body_2d.h b/scene/2d/physics_body_2d.h index 29befb0375..ddd55f7b7f 100644 --- a/scene/2d/physics_body_2d.h +++ b/scene/2d/physics_body_2d.h @@ -67,6 +67,7 @@ public: void set_collision_layer_bit(int p_bit, bool p_value); bool get_collision_layer_bit(int p_bit) const; + Array get_collision_exceptions(); void add_collision_exception_with(Node *p_node); //must be physicsbody void remove_collision_exception_with(Node *p_node); |
