ray plane intersection

I am still confused about how ray plane intersection works for 3D objects like a missile and building or walking into a solid object.
I am needed it for a computer game but i prefer to understand the mathmatics first.
I think the issue is that I need an example with real coodinates.
jagguyAsked:
Who is Participating?
 
ggeekConnect With a Mentor Commented:

Line-Plane Intersection:
http://softsurfer.com/Archive/algorithm_0104/algorithm_0104B.htm#Line-Plane Intersection

Segment and a Convex Polyhedron (3D) Intersection:
http://softsurfer.com/Archive/algorithm_0111/algorithm_0111.htm#Pseudo-Code: Clip Segment-Polyhedron
0
 
ozoCommented:
How are your rays and planes represented?
0
 
jagguyAuthor Commented:
a missile and a stationary object
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
ozoCommented:
Not what do they represent, how are they represented?
Are they represented as parametric equations?
As a pair of points and a triple of non-colinear points?
As a point and a vector and a point and a normal vector?
As a linear equation and a determinant equation?
0
 
jagguyAuthor Commented:
both will be points. One will be a cuboid with points  to test (vector) and the other will be a 3D object and best represented by a series of points or area.
0
 
ozoCommented:
Which is represented by a cuboid?  A cuboid is neither a ray nor a plane.
Do you mean a plane coincident with one of the faces of the cuboid?

(My internet access may be sporadic for the next few days, so I may not be able to reply right away)
0
 
jagguyAuthor Commented:
a missile which will have small height if any and say a 3D object like a house.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.