Skip to content

Drone explossion is hitting itself #3

@ClemensDegasper

Description

@ClemensDegasper

Hi,

while doing the tutorial i found this behaviour where, when the drone is exploding, it is hitting itself.
this become apparent when we add the hit sound to the drone.
you can hear in the tutorial video, but its quiet und the explosion.

drone.gd line 28

	for entity in get_tree().get_nodes_in_group("Entity") + get_tree().get_nodes_in_group("Container"):
		if entity == self:
			continue

this would fix that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions