XaiJu
Lidia Martínez

Lidia Martínez

gumroad


Lidia Martínez posts

Fixed RaycastCommand Multihit for Unity

This script is free but if you find it useful, please consider supporting my work!


The problem

RaycastCommand.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 solution

With this jobified / multithreaded (but obviously a bit slower) version you will be able to call:

R...

View Post