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!
This commit is contained in:
committed by
Guilherme Recchi Cardozo
parent
d42fd8fa79
commit
3fb2069d39
@ -21,6 +21,13 @@
|
||||
Adds a body to the list of bodies that this body can't collide with.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_exceptions">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns an array of nodes that were added as collision exceptions for this body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_layer_bit" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
||||
@ -21,6 +21,13 @@
|
||||
Adds a body to the list of bodies that this body can't collide with.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_exceptions">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns an array of nodes that were added as collision exceptions for this body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_layer_bit" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
||||
@ -20,6 +20,13 @@
|
||||
Adds a body to the list of bodies that this body can't collide with.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_exceptions">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns an array of nodes that were added as collision exceptions for this body.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_collision_layer_bit" qualifiers="const">
|
||||
<return type="bool">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user