This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

Can't get collision RigidBody 2D

ComLarsicComLarsic Posts: 1Member

Hello! i am trying to get the collision using RigidBody2D.
I have both 'Contact Monitor' turned on and 'Contacts Reported' set to 1

however when i check the collision using:

print(get_colliding_bodies())

i get <Array([])>

What am i doing wrong?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.