find location between two other locations
问题 I am trying trying to find a new location(x,y,z) between two already existing locations (x,y,z). e.g. lets say the distance between locA and locB is 2500. locNew should always be the location with distance 300 and should be on the line of locA and locB. I have no issues finding the midpoint between locA and locB, but I keep banging my head trying to find locNew for this specific situation. I tried this, but it returns a point that is not on the line from locA to locB: locA = {x = 400, y = 400