i have a simple enemy with an Area2D with some code on it. no matter what body_entered or and of its variations isnt giving me anything. i have checked collision layers and masks. im close to giving up on this engine if i cant even use area2d
func body_entered() not working
Hard to tell without seeing the code, scene setup and signal connections.
i have tried every version of body_entered ive seen but none of them have returned shit
func_body_entered Check for collision mask and layer
Is your body_entered
signal actually connected to the signal callback function?
Game_gulf as i said i already did and theyre all good
xyz signal callback?
im sorry i havent been using godot for long so i dont really know all this shit
- Edited
func_body_entered what if the enemy is moving and your enemy's collision doesn't move with her? and check your signal is connected (I marked it in the picture)
- Edited
func_body_entered It's not enough just to write _on_Area2D_body_entered()
function. You need to connect that function to the actual body_entered
signal in Area2D node. Check if the connection exists in the Node/Signal tab and if it actually goes to the correct method.
xyz holy mcmotherfucking shit cum balls this is actually working for once. since the birth of jesus "mcdonalds" christ i have been waiting to be blessed with the touch of seeing the beauty of functionality bestowed upon my cursed eyes.