Let's say there's part a in workspace in position (-59,7,41) and part b in position (-79,13,48). How do I place part c exactly between part a and b?
Hey I attempted using magnitude and the midpoint formula. Didn't work too well,however. If anyone else would like my code here you go:
local start = game.Workspace.start.Position local poop = game.Workspace.poop.Position local newpos = start+poop local magnitude = (start - poop).magnitude local magnitudee = magnitude/2 local part = Instance.new("Part", game.Workspace) part.Position = Vector3.new(CFrame.new(newpos -magnitudee))
Yeah it's messy because I couldn't find a correct solution. Interested in the correct answer.