Hey everyone!
My Problem is that get_colliding_bodies()
doenst seem to return anything, even, when i push the body around on the 2D world. Breakpoint 1 (marked in code below) is always hit, the second one never.
func _fixed_process(delta):
var bodies = get_colliding_bodies()
for i in bodies: #Breakpoint 1
if(bodies[i].get_name() == "Player"): #Breakpoint 2
get_parent().get_node("Buttons").add_powerUp(self)
self.queue_free()
fixed processing is obviously set to true.
Im kinda helpless. why does that happen? :|
-Manu