Nevermind. I searched online for a while and found a solution using trigonometry.
x-x1 = d*cos(a)
y-y1 = d*sin(a)
d=distance and a=angle
I applied these equations to my project and the door split the wall every time no matter the angle. For the coordinates, I ended up using the polypointXAt and polypointYAt methods from the collision box.