I am currently having issues with calculating plane intersection of a ray.
I start with the following equation $P = P_0 +tR_t$
$R_t$ is the Unit Vector of the Trajectory.
Now we have a plane which is given by
$Ax+Bx+Cx +D = 0$
Where the normal vector is given by $N = \langle A,B,C\rangle$
To calculate the Plane Intersection you find $t$
$t = \frac{R_0\cdot N + D}{R_t \cdot N}$
Then once you have that you substitude and find intersection.
Assuming I want to find the ray intersection to the y=0 plane, what would be my D value in this case. I know that is should be $D=-Ax-By-Cz$ . But how to determine x,y,and z?