Currently onComponentTypeCheck
runs per-component and allows to decide if one component could ever to collide with another. The result is also saved per-component, so iw we have 1000 components with same type - there will be cache storage with 1000 results. In other hand, it allows to check some of component's instance parameters but only once.
We could introduce additional function, for example pureTypeCheck
which will really check just only Type
of components. Using this instead of onComponentTypeCheck
might to improve functionality because:
It also worth to keep original onComponentTypeCheck
as is, but describe the difference in documentation
Fine-tuning of collision detection system makes it more and more complicated, but this functions can be ignored if not needed.
I already have tested implementation and can port it into Flame's core.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too