Hi! I am working with rays and I am not sure if their direction is totally correct. Therefore I am asking here if there is any simple way to make a ray somehow visible.
Manually place a part along the ray like you would a laser beam.
local LaserDistance = (HitPosition - Origin.CFrame.P).Magnitude
LaserBeam.Size = Vector3.new(0.3, 0.3, LaserDistance)
LaserBeam.CFrame = CFrame.new(Origin.CFrame.P, HitPosition) * CFrame.new(0, 0, -LaserDistance / 2)