SphereCast
Description
SphereCast
is a Function
Shoots a sphere from the given start point to the given end point and returns information about what the sphere hit.
Example
local testVariable = SphereCast(Vector3.New(1, 1, 1), Vector3.New(1, 1, 1), 1.0)
Usage
network usage: Any (Client or Server/Host)
returns: HitData
parameters:
- start (Vector3)
- end (Vector3)
- radius (float)