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

Don't check bullet collision with other bullets in the Bullet shower demo #655

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Oct 25, 2021

This improves performance by reducing the number of collision checks that need to be done.

I tested the demo and it still works as expected.

Thanks to @TackerTacker for the suggestion 🙂

…demo

This improves performance by reducing the number of collision checks
that need to be done.
@aaronfranke aaronfranke merged commit 44aefae into godotengine:master Oct 26, 2021
@Calinou Calinou deleted the bullet-shower-no-check-collision-with-other-bullets branch October 26, 2021 14:58
@wangbinyq
Copy link

Why this will disable player and bullets collision in godot 4?

@wangbinyq
Copy link

wangbinyq commented Feb 10, 2022

Why this will disable player and bullets collision in godot 4?

It should set bullet's mask to zero.

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

Successfully merging this pull request may close these issues.

4 participants