Part of StarfallEx namespace
๐ External
trace.intersectRayWithPlane(rayStart, rayDelta, planeOrigin, planeNormal)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Does a ray plane intersection returning the position hit or nil if not hit
Parameters
| Name | Type | Description |
|---|---|---|
rayStart | Vector | The origin of the ray |
rayDelta | Vector | The direction and length of the ray |
planeOrigin | Vector | The origin of the plane |
planeNormal | Vector | The normal of the plane |
Returns
| Type | Description |
|---|---|
Vector | Hit position or nil if not hit |
Examples
No examples available.
Used In
No usages found in the codebase.