Improvement ideas
This package could be improved in many ways, I unfortunately don't have the time to work on these upgrades. However the code is open to modifications, so feel free to add your touch!
Give a target to the paths
This could be a very cool feature that probably isn't too hard to implement. Having a transform that all the paths are trying to get to, maybe after a couple of free iterations.
You could probably already do that by just instantiating the particle with a Dynamic Object Spawner, and then enable some sort of tracking component to the objects. It is probably better that the package doesn't implement it so that it gives the freedom to the developers to do it however the need it.
Performance
I really didn't try and optimize the code, I just ran a first iteration of my ideas but as it looked performant enough for my liking, I didn't dig further down that route. However I think that the bottleneck is more about what you are spawning and how.
I already mention the use of object pooling in Spawnables which I strongly recommend. But also make sure if you use a Static Object Spawner that you batch together as much objects as possible to minimize draw calls.
The path generation itself only consists of a couple of geometry and ray casting, it can probably be improved but I think that it is quite lightweight the way it is.
2D
The package is designed for 3D as it makes more sense to me. But it might be something useful for some 2D projects. I have not planned to implement any of that, but as the 3D problem is more complex, I guess it is possible to get inspiration from this package to solve the 2D problem.
Create more effects
A lot of effects can be created with that, and can look a lot cooler than what I propose in the package. If you create something cool with this tool, please show me! I will be glad, with your consent, to add it to the store page and to the documentation.
Last updated