Lidia Martínez posts
Posts: 1
Files: 2
Fixed RaycastCommand Multihit for Unity
This script is free but if you find it useful, please consider supporting my work!The problemRaycastCommand.ScheduleBatch with parameter maxHits > 0 doesn't work. It always returns just one hit even though it is documented and in the API. Bug reports have been closed because it happens... "By Design".The solutionWith this jobified / multithreaded (but obviously a bit slower) version you will be able to call:RaycastCommandMultihit.ScheduleBatch(...) with the same parameters as the ori...
