Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

lifespan() fails when the FPS is low enough #786

Open
UnPolloLoco opened this issue Nov 13, 2023 · 0 comments
Open

lifespan() fails when the FPS is low enough #786

UnPolloLoco opened this issue Nov 13, 2023 · 0 comments

Comments

@UnPolloLoco
Copy link

UnPolloLoco commented Nov 13, 2023

If the FPS is too low, then the lifespan component will never actually delete the objetct.

Example code

Using the above example, you can see that 10 FPS doesn't let a lifespan of 0.1 do its job. Higher FPS or a longer lifespan doesn't have this problem.

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

No branches or pull requests

1 participant