Skip to content

Api > PhysicRay > Constructor


PhysicRay(Ray ray)⚓︎

Create new PhysicRay with providing a Ray.

Parameters:⚓︎

Name Type Description
ray Ray The starting point and direction of the ray.

Usage⚓︎

---@type Ray
local ray;


local physicray = PhysicRay(ray);