So basically I’m trying to move a part to another part’s position using body velocity. I tried using bodyPosition but I don’t understand it and the wiki is down. This script nearly works but it’s off by a small, small amount.
local StartingDistance = (script.Parent.Parent.End.Position-script.Parent.Position).magnitude
script.Parent.BodyVelocity.Velocity = (script.Parent.Parent.End.Position-script.Parent.Position).Unit
wait(StartingDistance)
print((script.Parent.Parent.End.Position-script.Parent.Position).magnitude) --changes based on the distance
script.Parent.BodyVelocity.Velocity = Vector3.new(0,0,0)
here’s a repro if you don’t understand.
does anybody know how to find the small number to fix it?