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

[Boids] Deleted boid objects still affect other boids #1142

Closed
1 task done
tristanbob opened this issue Jan 18, 2024 · 0 comments · Fixed by #1189
Closed
1 task done

[Boids] Deleted boid objects still affect other boids #1142

tristanbob opened this issue Jan 18, 2024 · 0 comments · Fixed by #1189
Labels
⚠ Issue with an extension An issue with an extension that is already on the extension store

Comments

@tristanbob
Copy link
Contributor

tristanbob commented Jan 18, 2024

Is there an existing issue for this?

Enter the name of the extension

Boids

Describe the bug of the extension

Deleted boid objects still affect other boids.

GDevelop_0Ceek8pAR5.mp4

I used console.log to verify that the OnDestroy function is being run when they are deleted
When I deleted a boid object, the "foundBoids" value goes down

Steps to reproduce

  1. Add boids to a scene
  2. Watch how they move
  3. Delete one or more boids
  4. Notice that the other boids still avoid the last place the object existed

GDevelop platform

Desktop

GDevelop version

5.3.186

Platform info

Windows 11

Additional context

No response

@tristanbob tristanbob added the ⚠ Issue with an extension An issue with an extension that is already on the extension store label Jan 18, 2024
@D8H D8H closed this as completed in #1189 Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠ Issue with an extension An issue with an extension that is already on the extension store
Projects
None yet
1 participant