Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Line-ellipsoid intersection

Author
Message
kevil
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Netherlands
Posted: 22nd Apr 2003 23:04
I made this, because I had to do something waiting for the retro results. It's not very impressive, so don't expect too much. I believe it can be used if an enemy (with an ellipsoid like shape) is hit by you in a shooter. With this you can also calculate the exact point of intersection to do some blood effect.
Anyway, it's not much, but it can be useful. It only works in DB, I think.

Kevil
kevil
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Netherlands
Posted: 22nd Apr 2003 23:44 Edited at: 22nd Apr 2003 23:46
And here is one with a triangle.

This could be useful for placing bulletholes in your levels, because you will get the exact location.

Kevil

Login to post a reply

Server time is: 2024-11-24 04:35:41
Your offset time is: 2024-11-24 04:35:41