Returns the intersection point of a ray consisting of the
position `from` and the direction normal `dir` with this plane.
If no intersection is found, `null` is returned.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector3? IntersectRay(
Vector3 from,
Vector3 dir
)
Parameters
- from
- Type: GodotVector3
The start of the ray. - dir
- Type: GodotVector3
The direction of the ray, normalized.
Return Value
Type:
NullableVector3The intersection, or `null` if none is found.
See Also