Collision question
Ok I need to know how to check to see if a sphere and a triangle are colliding. I am programming in METAL basic so please dont use any GL commands or any C functions please.
I am in Precalc/Trig now and we are just going over matrixes and cramers rule, so I know a decent amount of math.
I am in Precalc/Trig now and we are just going over matrixes and cramers rule, so I know a decent amount of math.
I'd point you here. Try out the Collision Detection using Ellipsoids article.
It might be hard to get by without using any C, but I think you will be able to figure that one out. Besides, OpenGL doesn't do any collision detection, just drawing.
I hope this helps!
It might be hard to get by without using any C, but I think you will be able to figure that one out. Besides, OpenGL doesn't do any collision detection, just drawing.
I hope this helps!
If METAL Basic is anything like conventional BASIC (I wouldn't know), then you could probably (very slowly, I'd imagine) use the same techniques everyone else is using, but in a form suited for METAL Basic.

