I am too tired and probaly rusty with my math skills, anyone willing to help me out?
http://local.wasp.uwa.edu.au/~pbourke//geometry/sphereline/
I used this as a bases to calculate intersection between line and sphere. I got it to work...however, the ray is infinite. I can t seem to make it a certain length only. The line is infinte length. And i cant figure it out for the life of me.
http://local.wasp.uwa.edu.au/~pbourke//geometry/sphereline/
I used this as a bases to calculate intersection between line and sphere. I got it to work...however, the ray is infinite. I can t seem to make it a certain length only. The line is infinte length. And i cant figure it out for the life of me.