Godot Version
4.3 beta 2
Question
Problem 1: If two enemies are on top of each other, one bullet kills both. i don’t want that but both trigger the Area2D
so i’m not sure how to stop it.
Problem 2: i want to turn off the collider inside Area2D
entered event. i tried self.process_mode = Node.PROCESS_MODE_DISABLED
but Godot says no, you can’t modify physics inside a physics method. You can queue things to run after (queue_free()
, queue_redraw()
) so i’m wondering if i can queue arbitrary code?
Bullet collides. i want the bullet to stick around (to play sounds and animations) but i don’t want it visible or colliding anymore.