Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drone explossion is hitting itself #3

Open
ClemensDegasper opened this issue Oct 27, 2023 · 0 comments
Open

Drone explossion is hitting itself #3

ClemensDegasper opened this issue Oct 27, 2023 · 0 comments

Comments

@ClemensDegasper
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant