:-\ So I am trying to do something goofy it’s pretty hard to explain. Here’s the situation:
I call it “fragmentation grenade” handling?
I have a Point in three-space. I want to make an invisible sphere around it. Then I want to check if multiple planes collide with this sphere. That part is easy, just the 3-D distance formula. Cool.
But, I want to find a point(I’m aware a sphere in most cases collides with more than one point on a plane) on the plane were the sphere hit’s it. Does that make sense?
Is this going to be impossible? I found a wikipedia page about it, that didn’t help, and asked for help on GameDev’s Math forum and no one really helped. So I came back here :D. Here’s the wiki if it helps anyone help me. Btw I will post the working code once this is figured out! I’m also willing to use a library or someone elses class file for this if that’s availible(spent 7 hours on this…).
Any help at this point would be immaculate…