this is what im trying to do.

(NOT MY VIDEO)

im trying to remake phantom forces bullet trail system. this is what it looks like but i’ve been thinking and i think i mightve figured it out.

these are pictures of the same object

its just from different angles

but you can see the Shape changes because visually from the camera angle it shows it like that

visually from my camera angle they are not the same length anymore

.

theres a stud length of that

i need to find that length

this is a PHYSICAL representation of this

the green line is what you see VISUALLY from ur CAMERA

I want to know the studs distance of that green line

and then once i get that length i can do a check to see if the length is within a certain range.

you can see at a certain range the beam starts to look like a circle because of the camera angle.

and if its within that range that “looks like a circle” from the camera angle, i can then replace it with this circle and make it face the camera using cframe lookat

which will create the nice bullet drop tracer effect that phantom forces has just like in the video.

“?” is an unknown point but it can be made if you get the difference in height between “c” and “b”, and then you can make a point “a”

but then if you keep going straight after “a” then it will intersect segment “d” to “b” which makes a point called “?”

but my question is… how do i get a reference to point “?” because how would I in code, do an intersection like that? making a part and using raycasts to get a intersection point? no im not doing that. thats just bad and i want to do it “mathematically”

the only idea i have to get point “?” is, the position of “a” + the lookvector of “c” to “a” * the distance from “a” to “?” which will = “?”

but how would i get the distance from “a” to “?”

how do i find the length of c to “?”

**OR its either im completely wrong about what i came up here and this is not how its done. so please tell me.**