@WAHa_06x36 In this case the ray directions are correct but there is only one test being done and always at a fixed depth from the cube surface, which will obviously have some dubious effects
@mcc That seems less than ideal, yes.
@mcc free the sphere from its cuboid prison
@mcc How are you picking your ray directions on the surface?