I can’t understand why there is a difference in using this two ways for constructing the plane.
var plane = new Plane(Vector3.Up, new Vector3(0f,0.2f, 0f);
and
var plane = new Plane(Vector3.Up, 0.2f);
I want to get a plane that is parallel to XZ plane and 0.2 higher (y=0.2f). The first constructor does this nice, but why is the second approach giving different results? I’m doing some raycasting to that plane and the second plane gets hit somewhere under XZ plane (y values are <0)
The first constructor uses two parameters: normal vector and point through which the plane goes through. The second constructor uses also normal vector but the second parameter is float distance. What distance? Only thing I can think of is distance from the origin (0,0,0) and I think that would mean in the direction of the normal vector. Did I misunderstand this?