Hi DevForum,
I know this question has been asked before, but that was about the Y axis only and i didn’t quite get what they were doing.
How would i get the angle between 2 positions, so i can place a part with that angle between them?
Thanks in advance!
1 Like
There’s no such thing. You need 3 points to define an angle.
It’s not clear what you mean, could you draw a diagram or try explaining it another way?
I’m trying to place a part between those two points.
pexf
(pexf)
#4
You can use lerp
workspace.Part3.CFrame = workspace.Part1.CFrame:Lerp(workspace.Part2.CFrame, 0.5)
Part3 would be the part to move
Part1 is the starting point
Part2 is the ending point
(50%) 0.5 would put the part exactly in the middle
2 Likes
RatiusRat
(Boopmaster)
#5
Incorrect? You only need 1 vector to define an angle. ( if you were on about vectors)
I was so caught up in thinking this needed a lot of math, but eventually i realised that this was just the solution:
1 Like