Collision question

Member
Posts: 509
Joined: 2002.05
Post: #1
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.
Quote this message in a reply
Oldtimer
Posts: 832
Joined: 2002.09
Post: #2
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!
Quote this message in a reply
Member
Posts: 148
Joined: 2003.03
Post: #3
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.
Quote this message in a reply
Post Reply