When specifying a line, we just need two pieces of information: a point r0 on the line and the direction v that the line points in. Then any point on the line can be represented by r(t)=r0+tv.
Similar to a line, to specify a plane, we still need a point r0 on the plane. However, a plane doesn't really have a direction, but it does have a tilt. If you think about it, a normal vector n to the plane is a succinct way of describing tilt. Then given any point r on the line, the vector r−r0 is parallel to the plane, so we get
(r−r0)⋅n=0.
Graphically,
If we let r=⟨x,y,z⟩, r0=⟨x0,y0,z0⟩, and n=⟨a,b,c⟩, then the equation becomes
Note that the coefficients of our normal vector n are the coefficients on x,y,z. This means that given the equation of a plane, you can immediately write down a normal vector just by looking at the coefficients.
Scalar Triple Product
The scalar triple product u⋅(v×w) is the (signed) volume of the parallelepiped spanned by u,v,w. This means that if the scalar triple product is 0, then the parallelepiped is flat, i.e., u,v,w must be coplanar.
Collision vs. Intersection
If r1(t) and r2(t) are two curves, then:
They intersect when r1(t)=r2(s) (note the different variables).
They collide when r1(t)=r2(t) (note the variables are the same).
For example:
In the picture, r1 and r2 intersect because r1(1)=r2(0), but they don't collide because they pass through the intersection at different times.