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

How would I get the point between two other points?

Asked by
Hexcede 52
9 years ago

Readers, So I have no code to do this since I have no idea how it would work but I was wondering how would I get the point exactly between two points? If anyone can tell me then please do! Sincerely, crazycittykat

0
Be more specific please. We can close this question for being too broad. EzraNehemiah_TF2 3552 — 9y
0
There may be a better way, but I'd probably end up using a similar method to the code used to make a ray visible. http://wiki.roblox.com/index.php?title=How_to_Make_a_Raycasting_Lasergun Perci1 4988 — 9y

2 answers

Log in to vote
0
Answered by
Hexcede 52
9 years ago

I realize "If I take two rays and cast them at each other from one point to another, I would have a hit for each of them. I would then just say make a part at the end of either ray and its the center!"

Ad
Log in to vote
0
Answered by 9 years ago

Midpoint formula?

https://www.easycalculation.com/analytical/images/mid-point3-formula.gif

Answer this question