Ray Lua Object

Vector3 direction) Creates a new Ray at origin with a direction of direction
Vector3 Origin The start position of the Ray
Vector3 Direction The direction that the Ray is pointing
Number Distance(point) Returns the shortest distance from the ray to a point
Vector3 ClosestPoint(point) Returns the closest point on the Ray to the given point

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.