It looks like you're new here. If you want to get involved, click one of these buttons!

`direction`

and `distance`

. Apparently the direction values need to be multiplied by the distance value. For example, if the origin is at 0,0,0 and an object is at 0,0,20, if the direction is given as 0,0,1, then the distance needs to be 20 for it to work. If the direction is set at 0,0,2, then the distance only needs to be 10. If the direction is 0,0,10, then the distance only needs to be 2. Shouldn’t the direction and distance be independent of each other. At least that’s what I’m seeing in test code.

## Comments

@dave1707 That sounds like a bit of a bug. Personally I prefer using all lowercase (as in spherecast is just a compound word rather than 2 words). The direction vector should be normalized so that's a problem too. Thanks for letting me know.