I'm trying to cast some rays a bunch of times using
DirectSpaceState.intersect_ray(), here i get the hit point by doing
hit is the result of the raycast.
For some reason the hit points are not accurate and appear at seemingly random positions.
However if i put a delay in between by doing
This makes everything work, but it's too slow now because it waits every frame.