since some scripts call rayCast many times in a single logic tick, contrived benchmark shows this to be about 20% faster.