diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs index 13070c8033e..664b2e0f34b 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Plane.cs @@ -291,6 +291,18 @@ namespace Godot D = d; } + /// + /// Constructs a from a vector and + /// a on the plane. + /// + /// The normal of the plane, must be normalized. + /// The point on the plane. + public Plane(Vector3 normal, Vector3 point) + { + _normal = normal; + D = _normal.Dot(point); + } + /// /// Constructs a from the three points, given in clockwise order. ///