You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Calling get_overlapping_areas() on Area2D can return array with reference to self instead of other Area2D
To Reproduce
Steps to reproduce the behavior:
Create 2D scene containing 2 Area2Ds (Area1, Area2) with CollisionShap2D circles which are overlapping
In script on scene root inside _physics_process call get_overlapping_areas() on Area1. It returns [Area2]
Calling get_overlapping_areas() on Area2. Also returns [Area2]
Expected behavior
Calling Area1.get_overlapping_areas() should return [Area2]] (which it does)
Calling Area2.get_overlapping_areas() should return [Area1]] (which it does not)
Screenshots
Environment (please complete the following information):
OS: Linux, Ubuntu 22.04
Godot Version v4.2.1
Source: Plugin from Godot Asset Store (Godot Rapier 2D)
Plugin Version: 0.5.1
Rapier Version: 0.17.2 2
The text was updated successfully, but these errors were encountered:
Describe the bug
Calling
get_overlapping_areas()
on Area2D can return array with reference to self instead of other Area2DTo Reproduce
Steps to reproduce the behavior:
_physics_process
callget_overlapping_areas()
on Area1. It returns [Area2]get_overlapping_areas()
on Area2. Also returns [Area2]Expected behavior
Calling
Area1.get_overlapping_areas()
should return [Area2]] (which it does)Calling
Area2.get_overlapping_areas()
should return [Area1]] (which it does not)Screenshots
![Screenshot from 2024-03-05 21-40-59](https://private-user-images.githubusercontent.com/5043167/310273256-df04df9e-8687-403f-bba3-f5a91826a89a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0NjI5NjUsIm5iZiI6MTcxOTQ2MjY2NSwicGF0aCI6Ii81MDQzMTY3LzMxMDI3MzI1Ni1kZjA0ZGY5ZS04Njg3LTQwM2YtYmJhMy1mNWE5MTgyNmE4OWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjdUMDQzMTA1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDRlM2M1MjdiZTNiMzc3NmE3MGFlZjc3YmJiMTM3ODMwOTU5YWVkOWRhNTI4ZDJlNDJhMGM0YzkzOTcxM2MxNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.9FRmeIKQ6lQexRxZOPUw3TX6DNCiLEDQEnXIhtx2Beo)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: