kaboom icon indicating copy to clipboard operation
kaboom copied to clipboard

lifespan() fails when the FPS is low enough

Open UnPolloLoco opened this issue 2 years ago • 0 comments

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.

UnPolloLoco avatar Nov 13 '23 19:11 UnPolloLoco