Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to I place a part at the end of a ray?

Asked by
Mystdar 352 Moderation Voter
9 years ago

I have made my ray with

local start = Vector3.new(...)
local lookAt = Vector3.new(...)
local Rope = Ray.new(start, (...).unit

But I can't place a part at the end of the array without it seeming clunky. Would I weld it or place the part at the ray's "endpoint", how can I do this?

0
is that"local Rope = Ray.new(start, lookAt.unit)", also is lookAt the direction and length. If so, start+lookAt will be the end point CALEB2020 30 — 9y

Answer this question