bool Trace (in Ray ray, float radius, float maxDistance)

Parameters

NameTypeDescription
in ray Ray The ray to test against.
radius float Radius of this line, which essentially makes this a capsule, since direct line-to-line intersections are very improbable. Must be above 0.
maxDistance = 3.4028235E+38 float Maximum allowed distance from the origin of the ray to the intersection.

Returns

TypeDescription
bool Whether there was an intersection or not.
Declared in Line ยท Assembly Sandbox.System
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.